:root {
  --color-black: #000000;
  --color-gold: #ff160d;
  --color-gold-deep: #c80d08;
  --color-gold-soft: #ff6b63;
  --color-ivory: #ffffff;
  --color-white: #ffffff;
  --color-muted: #d7d7d7;
  --color-panel: rgba(255, 255, 255, 0.06);
  --color-panel-low: rgba(255, 255, 255, 0.01);
  --color-panel-border: rgba(255, 22, 13, 0.35);
  --color-success-border: rgba(255, 255, 255, 0.28);
  --color-success-bg: rgba(255, 255, 255, 0.08);
  --color-danger: #ffd7d5;
  --color-danger-border: rgba(255, 22, 13, 0.5);
  --color-danger-bg: rgba(255, 22, 13, 0.16);
  --shadow-panel: 0 18px 60px rgba(0, 0, 0, 0.45);
  --shadow-hero: 0 30px 80px rgba(0, 0, 0, 0.45);
  --radius-panel: 1.5rem;
  --radius-card: 1.875rem;
  --radius-pill: 999px;
  --container-width: min(1200px, 92vw);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

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

html.baa-auth-open,
body.baa-auth-open {
  overflow: hidden;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  overflow-y: auto;
  background:
    radial-gradient(circle at 12% -8%, rgba(255, 22, 13, 0.28), transparent 36%),
    radial-gradient(circle at 88% 8%, rgba(255, 255, 255, 0.14), transparent 28%),
    linear-gradient(160deg, #000000 0%, #080808 58%, #111111 100%);
  color: var(--color-white);
  font-family: "Inter", sans-serif;
}

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

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

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

button {
  cursor: pointer;
}

button:disabled {
  cursor: not-allowed;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  font-family: "Playfair Display", serif;
  letter-spacing: 0.01em;
}

p,
ul,
ol {
  margin: 0;
}

textarea {
  resize: vertical;
}

.luxury-shell {
  margin-inline: auto;
  width: var(--container-width);
}

.editorial-copy {
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.75;
}

.glass-panel {
  background: linear-gradient(180deg, var(--color-panel), var(--color-panel-low));
  border: 1px solid var(--color-panel-border);
  backdrop-filter: blur(12px);
}

.gold-button,
.ghost-button,
.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  border-radius: var(--radius-pill);
  padding: 0.95rem 1.75rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    filter 180ms ease,
    border-color 180ms ease,
    color 180ms ease,
    background-color 180ms ease;
}

.gold-button {
  border: 1px solid rgba(255, 22, 13, 0.78);
  background: linear-gradient(135deg, rgba(255, 22, 13, 0.96), rgba(200, 13, 8, 0.96));
  color: var(--color-white);
}

.gold-button:hover,
.gold-button:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(255, 22, 13, 0.28);
  filter: brightness(1.05);
}

.ghost-button {
  border: 1px solid #111111;
  background: #111111;
  color: #ffffff;
}

.secondary-button {
  border: 1px solid rgba(17, 17, 17, 0.18);
  background: rgba(255, 255, 255, 0.7);
  color: var(--color-black);
}

.ghost-button:hover,
.ghost-button:focus-visible {
  border-color: #000000;
  background: #000000;
  color: #ffffff;
}

.secondary-button:hover,
.secondary-button:focus-visible,
.academy-inline-link:hover,
.academy-inline-link:focus-visible {
  border-color: var(--color-gold);
  color: var(--color-gold-soft);
}


.secondary-button {
  width: 100%;
  border-radius: 1rem;
  padding: 0.95rem 1.15rem;
  letter-spacing: 0.12em;
}

.page {
  position: relative;
  min-height: 100vh;
  overflow: visible;
}

.page::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(140deg, transparent, rgba(255, 22, 13, 0.16), transparent);
  opacity: 0.7;
}

.page > * {
  position: relative;
  z-index: 1;
}

.eyebrow {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 22, 13, 0.5);
  padding: 0.45rem 1rem;
  font-size: 0.74rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--color-gold);
}

.eyebrow-label {
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--color-gold-soft);
}

.page-home {
  padding-bottom: 4rem;
}

.hero-grid {
  display: grid;
  min-height: 100vh;
  gap: 4rem;
  padding: 5rem 0 4rem;
  align-items: center;
}

.hero-copy {
  display: grid;
  gap: 2rem;
  animation: fade-up 720ms ease both;
}

.hero-title {
  max-width: 42rem;
  font-size: clamp(3.2rem, 9vw, 5.35rem);
  line-height: 1.04;
}

.hero-description {
  max-width: 34rem;
  font-size: 1.125rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  padding-top: 0.25rem;
}

.hero-media {
  position: relative;
  animation: hero-scale 820ms ease both;
}

.hero-card {
  position: relative;
  min-height: 30rem;
  overflow: hidden;
  border-radius: 2.2rem;
  border: 1px solid rgba(255, 22, 13, 0.4);
  background: #000000;
  box-shadow: var(--shadow-hero);
}

.hero-card-image {
  position: absolute;
  inset: 0;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.hero-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0.34), rgba(0, 0, 0, 0.08));
}

.hero-featured {
  position: absolute;
  right: 1.5rem;
  bottom: 1.5rem;
  left: 1.5rem;
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(0, 0, 0, 0.4);
  padding: 1.25rem;
  backdrop-filter: blur(12px);
}

.hero-featured-label {
  font-size: 0.72rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--color-gold-soft);
}

.hero-featured-title {
  margin-top: 0.65rem;
  font-size: 1.55rem;
  line-height: 1.15;
}

.page-auth {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3.5rem 1.5rem;
}

.auth-card {
  width: min(100%, 32rem);
  border-radius: var(--radius-card);
  padding: 2rem;
  box-shadow: var(--shadow-panel);
}

.baa-auth-panel[hidden] {
  display: none !important;
}

.auth-title {
  margin-top: 1rem;
  font-size: clamp(2.35rem, 7vw, 3rem);
}

.auth-subtitle {
  margin-top: 0.75rem;
  font-size: 0.95rem;
}

.form-stack {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
}

.oauth-stack {
  display: grid;
  gap: 0.75rem;
}

.divider {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.15rem 0;
}

.divider::before,
.divider::after {
  content: "";
  height: 1px;
  flex: 1;
  background: rgba(255, 255, 255, 0.2);
}

.divider span {
  font-size: 0.64rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

.form-field {
  display: grid;
  gap: 0.5rem;
}

.form-field span {
  font-size: 0.94rem;
  color: rgba(255, 255, 255, 0.9);
}

.form-field input,
.form-field textarea,
.form-field select {
  width: 100%;
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(0, 0, 0, 0.4);
  padding: 0.95rem 1rem;
  color: var(--color-white);
  outline: none;
  transition: border-color 180ms ease, background-color 180ms ease;
}

.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  border-color: var(--color-gold);
}

.form-stack > .gold-button,
.card-actions > .gold-button,
.card-actions > .ghost-button,
.academy-cta-stack > .gold-button,
.academy-cta-stack > .ghost-button {
  width: 100%;
}

.form-link-copy {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.75);
}

.baa-auth-switch-link {
  appearance: none;
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--color-gold);
  cursor: pointer;
  transition: color 180ms ease;
}

.form-link-copy a,
.baa-auth-switch-link,
.academy-inline-link {
  color: var(--color-gold);
  transition: color 180ms ease;
}

.form-link-copy a:hover,
.form-link-copy a:focus-visible,
.baa-auth-switch-link:hover,
.baa-auth-switch-link:focus-visible {
  color: var(--color-white);
}

.baa-auth-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 1.25rem;
}

.baa-auth-modal[hidden] {
  display: none;
}

.baa-auth-modal__overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top, rgba(255, 22, 13, 0.14), transparent 35%),
    rgba(2, 2, 2, 0.74);
  backdrop-filter: blur(12px);
}

.baa-auth-modal__dialog {
  position: relative;
  width: min(100%, 38rem);
  max-height: calc(100vh - 2.5rem);
  overflow-y: auto;
  border-radius: 2rem;
  padding: 2rem;
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.56);
}

.baa-auth-modal__dialog:focus {
  outline: none;
}

.baa-auth-modal__content {
  position: relative;
}

.baa-auth-modal__panel {
  min-width: 0;
}

.baa-auth-modal__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.32);
  color: rgba(255, 255, 255, 0.88);
  transition:
    border-color 180ms ease,
    color 180ms ease,
    transform 180ms ease,
    background-color 180ms ease;
}

.baa-auth-modal__close:hover,
.baa-auth-modal__close:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(255, 22, 13, 0.5);
  background: rgba(255, 22, 13, 0.14);
  color: var(--color-white);
}

.baa-auth-modal__close span {
  font-size: 1.4rem;
  line-height: 1;
}

.placeholder-region {
  display: none;
  margin-top: 1rem;
  border-radius: 1rem;
  padding: 0.9rem 1rem;
  font-size: 0.92rem;
  line-height: 1.6;
}

.placeholder-region.is-visible {
  display: block;
}

.placeholder-region.is-success {
  border: 1px solid var(--color-success-border);
  background: var(--color-success-bg);
  color: var(--color-ivory);
}

.placeholder-region.is-error {
  border: 1px solid var(--color-danger-border);
  background: var(--color-danger-bg);
  color: var(--color-danger);
}

.academy-error-list {
  margin: 0;
  padding-left: 1.1rem;
}

.academy-error-list li + li {
  margin-top: 0.35rem;
}

.page-dashboard,
.page-webinar,
.page-not-found {
  padding: 2.5rem 1.5rem 4rem;
}

.page-dashboard .luxury-shell,
.page-webinar .luxury-shell {
  display: grid;
  gap: 2.5rem;
}

.dashboard-header,
.webinar-header {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
}

.dashboard-copy,
.webinar-copy {
  display: grid;
  gap: 0.9rem;
}

.dashboard-title,
.webinar-title {
  font-size: clamp(2.5rem, 7vw, 4.5rem);
}

.dashboard-description,
.webinar-description {
  max-width: 40rem;
  font-size: 0.98rem;
}

.dashboard-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
}

.dashboard-grid {
  display: grid;
  gap: 1.5rem;
}

.dashboard-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: var(--radius-card);
  min-height: 100%;
}

.dashboard-card:hover .card-media.is-unlocked {
  transform: scale(1.05);
}

.card-visual {
  position: relative;
  min-height: 15rem;
  overflow: hidden;
}

.card-media {
  position: absolute;
  inset: 0;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  transition: transform 500ms ease, filter 300ms ease;
}

.card-media.is-locked {
  filter: blur(2px) grayscale(0.2);
}

.card-lock {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(2px);
}

.lock-pill,
.academy-tier-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 22, 13, 0.66);
  background: rgba(0, 0, 0, 0.65);
  padding: 0.75rem 1rem;
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-white);
}

.academy-tier-pill.is-open {
  border-color: rgba(255, 22, 13, 0.35);
  background: rgba(255, 22, 13, 0.14);
}

.lock-pill svg {
  width: 0.9rem;
  height: 0.9rem;
  flex: none;
}

.card-body {
  display: grid;
  gap: 1rem;
  padding: 1.5rem;
}

.card-status {
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-gold-soft);
}

.card-title {
  font-size: 1.6rem;
}

.card-description {
  font-size: 0.95rem;
}

.card-actions,
.academy-cta-stack {
  display: grid;
  gap: 0.75rem;
  margin-top: 0.25rem;
}

.academy-cta-inline {
  justify-items: stretch;
}

.page-webinar .luxury-shell {
  gap: 2rem;
}

.webinar-header {
  justify-content: flex-start;
}

.webinar-back {
  margin-top: 0.4rem;
}

.player-shell {
  overflow: hidden;
  border-radius: var(--radius-card);
  padding: 0.75rem;
}

.player-frame {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #000000;
}

.player-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.page-not-found {
  display: flex;
  align-items: center;
  justify-content: center;
}

.not-found-card {
  width: min(100%, 42rem);
  border-radius: var(--radius-card);
  padding: 2.5rem;
  text-align: center;
}

.not-found-title {
  margin-top: 1rem;
  font-size: clamp(3rem, 9vw, 4.75rem);
}

.not-found-copy {
  margin-top: 1rem;
}

.not-found-actions {
  margin-top: 2rem;
  display: flex;
  justify-content: center;
}

.academy-page-content {
  padding-bottom: 1rem;
}

.academy-copy-panel,
.academy-sidebar-panel {
  border-radius: var(--radius-card);
  padding: 1.5rem;
  box-shadow: var(--shadow-panel);
}

.academy-course-grid {
  display: grid;
  gap: 1.5rem;
}

.academy-course-main,
.academy-course-sidebar {
  display: grid;
  gap: 1.5rem;
  align-content: start;
}

.academy-preview-header {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.academy-section-title {
  margin-top: 0.5rem;
  font-size: 1.6rem;
}

.academy-empty-video {
  display: grid;
  place-items: center;
  min-height: 20rem;
  gap: 0.75rem;
  padding: 2rem;
  text-align: center;
  border-radius: 1.25rem;
  border: 1px dashed rgba(255, 22, 13, 0.36);
  background: rgba(0, 0, 0, 0.35);
}

.academy-empty-video-title {
  font-size: 1.4rem;
}

.academy-curriculum {
  display: grid;
  gap: 1rem;
  margin-top: 1rem;
}

.academy-topic {
  overflow: hidden;
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.03);
}

.academy-topic summary {
  cursor: pointer;
  list-style: none;
  padding: 1rem 1.1rem;
  font-weight: 600;
}

.academy-topic summary::-webkit-details-marker {
  display: none;
}

.academy-topic-lessons {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.academy-lesson-item {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 1rem 1.1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.academy-lesson-item.is-locked {
  color: rgba(255, 255, 255, 0.65);
}

.academy-lesson-meta {
  display: grid;
  gap: 0.45rem;
}

.academy-lesson-title {
  font-size: 1rem;
  font-weight: 600;
}

.academy-lesson-badge {
  width: fit-content;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 22, 13, 0.38);
  padding: 0.3rem 0.65rem;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-gold-soft);
}

.academy-lesson-lock-copy,
.academy-inline-link {
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.academy-inline-link {
  border-bottom: 1px solid transparent;
}

.academy-social-login .nsl-container {
  width: 100%;
}

.academy-social-login .nsl-container .nsl-container-buttons {
  display: grid;
}

.academy-social-login .nsl-container .nsl-container-buttons a[data-plugin="nsl"] {
  width: 100%;
  margin: 0;
}

.academy-social-login .nsl-button {
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: none;
}

.academy-social-login .nsl-button-default {
  min-height: 54px;
}

.entry-content {
  color: rgba(255, 255, 255, 0.84);
  line-height: 1.75;
}

.entry-content > * + * {
  margin-top: 1rem;
}

.entry-content ul,
.entry-content ol {
  padding-left: 1.2rem;
}

.entry-content a {
  color: var(--color-gold);
}

.academy-access-denied .academy-cta-stack {
  width: min(100%, 26rem);
  margin-inline: auto;
  margin-top: 1.5rem;
}

.fade-in {
  animation: fade-up 720ms ease both;
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(24px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes hero-scale {
  from {
    opacity: 0;
    transform: scale(0.98);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

@media (min-width: 680px) {
  .auth-card {
    padding: 2.25rem;
  }

  .baa-auth-modal__dialog {
    padding: 2.25rem;
  }

  .player-shell {
    padding: 1.25rem;
  }
}

@media (min-width: 768px) {
  .page-dashboard,
  .page-webinar,
  .page-not-found {
    padding-top: 3.5rem;
  }

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

  .academy-course-grid {
    grid-template-columns: minmax(0, 1.4fr) minmax(320px, 0.9fr);
  }
}

@media (min-width: 1024px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  }

  .hero-card {
    min-height: 38.75rem;
  }
}

@media (min-width: 1280px) {
  .dashboard-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .page-home {
    padding-bottom: 3rem;
  }

  .dashboard-actions,
  .hero-actions {
    width: 100%;
  }

  .hero-actions .gold-button,
  .hero-actions .ghost-button,
  .dashboard-actions .ghost-button {
    width: 100%;
  }

  .auth-card,
  .not-found-card,
  .academy-copy-panel,
  .academy-sidebar-panel {
    padding: 1.5rem;
  }

  .baa-auth-modal {
    padding: 0.75rem;
  }

  .baa-auth-modal__dialog {
    max-height: calc(100vh - 1.5rem);
    padding: 1.5rem;
  }

  .baa-auth-modal__close {
    top: 0.9rem;
    right: 0.9rem;
  }

  .hero-featured {
    right: 1rem;
    bottom: 1rem;
    left: 1rem;
  }

  .academy-lesson-item {
    align-items: flex-start;
  }
}