:root {
  --bg: #07090e;
  --bg-elevated: #10141d;
  --bg-panel: #151b27;
  --bg-soft: #1a2231;
  --line: rgba(232, 228, 220, 0.12);
  --line-strong: rgba(232, 228, 220, 0.22);
  --text: #e8e4dc;
  --text-muted: #9aa3b5;
  --text-dim: #6f788a;
  --gold: #c9a227;
  --gold-bright: #e4c45a;
  --gold-deep: #8f7012;
  --ice: #a8c0d8;
  --danger: #e07a6a;
  --success: #6fbf9a;
  --radius: 4px;
  --radius-lg: 18px;
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.45);
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Sora", system-ui, sans-serif;
  --header-h: 76px;
  --max: 1180px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background:
    radial-gradient(ellipse 80% 50% at 10% -10%, rgba(201, 162, 39, 0.14), transparent 55%),
    radial-gradient(ellipse 60% 40% at 90% 0%, rgba(168, 192, 216, 0.1), transparent 50%),
    linear-gradient(180deg, #0a0d14 0%, var(--bg) 40%, #05070b 100%);
  background-attachment: fixed;
  min-height: 100vh;
}

img {
  max-width: 100%;
  display: block;
  height: auto;
}

a {
  color: var(--gold-bright);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
  transition: color 0.2s var(--ease);
}

a:hover {
  color: var(--text);
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 0.6em;
}

p {
  margin: 0 0 1em;
}

ul, ol {
  margin: 0 0 1em;
  padding-left: 1.2em;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 1000;
  background: var(--gold);
  color: #111;
  padding: 0.6rem 1rem;
  font-weight: 600;
}

.skip-link:focus {
  top: 1rem;
}

.container {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(16px);
  background: rgba(7, 9, 14, 0.78);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.brand-mark {
  width: 1.15rem;
  height: 1.15rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-bright), var(--gold-deep));
  box-shadow: 0 0 0 4px rgba(201, 162, 39, 0.15);
}

.brand-text {
  font-family: var(--font-display);
  font-size: 1.15rem;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line-strong);
  background: var(--bg-elevated);
  border-radius: var(--radius);
  cursor: pointer;
  position: relative;
}

.nav-toggle-bar,
.nav-toggle-bar::before,
.nav-toggle-bar::after {
  content: "";
  position: absolute;
  left: 11px;
  right: 11px;
  height: 2px;
  background: var(--text);
  transition: transform 0.25s var(--ease), opacity 0.2s;
}

.nav-toggle-bar {
  top: 50%;
  transform: translateY(-50%);
}

.nav-toggle-bar::before {
  top: -7px;
}

.nav-toggle-bar::after {
  top: 7px;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar::before {
  top: 0;
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar::after {
  top: 0;
  transform: rotate(-45deg);
}

.nav-list {
  display: flex;
  gap: 0.15rem 1.15rem;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav-list a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
}

.nav-list a:hover,
.nav-list a[aria-current="page"] {
  color: var(--gold-bright);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.35rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.25s var(--ease), background 0.25s, border-color 0.25s, color 0.25s, box-shadow 0.25s;
}

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

.btn-primary {
  background: linear-gradient(135deg, var(--gold-bright), var(--gold));
  color: #14110a;
  box-shadow: 0 10px 30px rgba(201, 162, 39, 0.25);
}

.btn-primary:hover {
  color: #14110a;
}

.btn-ghost {
  background: transparent;
  border-color: var(--line-strong);
  color: var(--text);
}

.btn-ghost:hover {
  border-color: var(--gold);
  color: var(--gold-bright);
}

.btn-line {
  background: rgba(201, 162, 39, 0.08);
  border-color: rgba(201, 162, 39, 0.35);
  color: var(--gold-bright);
}

.section {
  padding: 5rem 0;
}

.section-tight {
  padding: 3.5rem 0;
}

.section-label {
  display: inline-block;
  margin-bottom: 0.85rem;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.7rem);
  max-width: 16ch;
}

.section-lead {
  color: var(--text-muted);
  max-width: 42rem;
  font-size: 1.05rem;
}

.panel {
  background: linear-gradient(180deg, rgba(26, 34, 49, 0.9), rgba(16, 20, 29, 0.95));
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
}

.hero-stage {
  position: relative;
  min-height: calc(100vh - var(--header-h));
  display: grid;
  align-items: end;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.75) brightness(0.45);
  transform: scale(1.04);
  animation: heroDrift 18s var(--ease) infinite alternate;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 9, 14, 0.92) 0%, rgba(7, 9, 14, 0.55) 48%, rgba(7, 9, 14, 0.35) 100%),
    linear-gradient(0deg, rgba(7, 9, 14, 0.95) 0%, transparent 45%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(100% - 2.5rem, var(--max));
  margin: 0 auto;
  padding: 5rem 0 4rem;
  display: grid;
  gap: 2rem;
}

.hero-brand-lockup {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 8vw, 6.2rem);
  line-height: 0.92;
  letter-spacing: -0.04em;
  max-width: 11ch;
  animation: riseIn 0.9s var(--ease) both;
}

.hero-brand-lockup span {
  display: block;
  color: var(--gold-bright);
}

.hero-aside {
  max-width: 28rem;
  justify-self: end;
  animation: riseIn 1s 0.15s var(--ease) both;
}

.hero-aside p {
  color: var(--text-muted);
  font-size: 1.05rem;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  margin-top: 1.5rem;
  color: var(--ice);
  font-size: 0.88rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.proof-rail {
  border-block: 1px solid var(--line);
  background: rgba(16, 20, 29, 0.65);
  overflow: hidden;
}

.proof-track {
  display: flex;
  gap: 3rem;
  padding: 1.25rem 0;
  width: max-content;
  animation: marquee 28s linear infinite;
}

.proof-item {
  white-space: nowrap;
  color: var(--text-muted);
  font-size: 0.92rem;
}

.proof-item strong {
  color: var(--gold-bright);
  font-weight: 600;
  margin-right: 0.4rem;
}

.feature-course {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2rem;
  align-items: stretch;
}

.feature-course-media {
  position: relative;
  min-height: 420px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
}

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

.feature-course-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1rem;
}

.module-list {
  list-style: none;
  padding: 0;
  margin: 0.5rem 0 1.5rem;
}

.module-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.85rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line);
  color: var(--text-muted);
}

.module-list li span {
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 1.1rem;
}

.benefit-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 2rem;
}

.benefit {
  padding: 1.6rem 1.4rem;
  border-top: 1px solid var(--gold);
  background: linear-gradient(180deg, rgba(201, 162, 39, 0.08), transparent 55%);
}

.benefit h3 {
  font-size: 1.35rem;
}

.benefit p {
  color: var(--text-muted);
  margin: 0;
}

.split-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.stat {
  padding: 1.5rem 1.2rem;
  border: 1px solid var(--line);
  background: var(--bg-elevated);
  text-align: left;
}

.stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--gold-bright);
  margin-bottom: 0.35rem;
}

.stat span {
  color: var(--text-muted);
  font-size: 0.92rem;
}

.testimonial-stack {
  display: grid;
  gap: 1.25rem;
  margin-top: 2rem;
}

.testimonial {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 1.5rem;
  padding: 1.5rem;
  border: 1px solid var(--line);
  background: rgba(16, 20, 29, 0.8);
  border-radius: var(--radius-lg);
}

.testimonial.compact {
  grid-template-columns: 1fr;
}

.testimonial p {
  margin-bottom: 0.75rem;
  font-size: 1.05rem;
}

.testimonial footer {
  color: var(--text-dim);
  font-size: 0.9rem;
}

.quote-mark {
  font-family: var(--font-display);
  font-size: 4rem;
  line-height: 0.8;
  color: var(--gold);
  opacity: 0.55;
}

.cta-band {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line-strong);
  padding: clamp(2rem, 5vw, 3.5rem);
  background:
    radial-gradient(circle at 85% 20%, rgba(201, 162, 39, 0.2), transparent 35%),
    var(--bg-panel);
}

.cta-band h2 {
  max-width: 14ch;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.5rem;
}

.page-hero {
  padding: 4.5rem 0 2.5rem;
  border-bottom: 1px solid var(--line);
}

.page-hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  max-width: 16ch;
}

.page-hero p {
  color: var(--text-muted);
  max-width: 40rem;
  font-size: 1.08rem;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.35rem;
}

.course-card,
.blog-card,
.price-tier {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  background: var(--bg-elevated);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color 0.25s, transform 0.25s var(--ease);
}

.course-card:hover,
.blog-card:hover,
.price-tier:hover {
  border-color: rgba(201, 162, 39, 0.45);
  transform: translateY(-4px);
}

.course-card img,
.blog-card img {
  aspect-ratio: 16 / 10;
  width: 100%;
  object-fit: cover;
}

.course-card-body,
.blog-card-body,
.price-tier-body {
  padding: 1.35rem 1.35rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  flex: 1;
}

.course-card h2,
.blog-card h2,
.price-tier h2 {
  font-size: 1.35rem;
  margin: 0;
}

.course-card p,
.blog-card p,
.price-tier p {
  color: var(--text-muted);
  margin: 0;
  flex: 1;
}

.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  color: var(--text-dim);
  font-size: 0.85rem;
}

.price {
  font-family: var(--font-display);
  font-size: 2.4rem;
  color: var(--gold-bright);
}

.price small {
  font-size: 0.95rem;
  color: var(--text-muted);
  font-family: var(--font-body);
}

.price-tier.featured {
  border-color: rgba(201, 162, 39, 0.55);
  background:
    linear-gradient(180deg, rgba(201, 162, 39, 0.12), transparent 40%),
    var(--bg-elevated);
}

.price-tier ul {
  list-style: none;
  padding: 0;
  margin: 0.5rem 0 1.25rem;
}

.price-tier li {
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--line);
  color: var(--text-muted);
  font-size: 0.95rem;
}

.price-tier li::before {
  content: "–";
  color: var(--gold);
  margin-right: 0.55rem;
}

.prose {
  max-width: 46rem;
}

.prose h2 {
  margin-top: 2rem;
  font-size: 1.7rem;
}

.prose h3 {
  margin-top: 1.5rem;
  font-size: 1.25rem;
}

.prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.25rem 0 1.75rem;
  font-size: 0.92rem;
}

.prose th,
.prose td {
  border: 1px solid var(--line);
  padding: 0.75rem 0.85rem;
  text-align: left;
  vertical-align: top;
}

.prose th {
  background: var(--bg-soft);
  color: var(--gold-bright);
  font-weight: 600;
}

.faq-list {
  display: grid;
  gap: 0.85rem;
  margin-top: 1.5rem;
}

.faq-item {
  border: 1px solid var(--line);
  background: var(--bg-elevated);
  border-radius: var(--radius);
  padding: 1rem 1.15rem;
}

.faq-item h3 {
  font-size: 1.1rem;
  margin-bottom: 0.45rem;
}

.faq-item p {
  margin: 0;
  color: var(--text-muted);
}

.form {
  display: grid;
  gap: 1rem;
  max-width: 36rem;
}

.form-row {
  display: grid;
  gap: 0.4rem;
}

.form label {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
}

.form input,
.form select,
.form textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border-radius: var(--radius);
  border: 1px solid var(--line-strong);
  background: var(--bg);
  color: var(--text);
  font: inherit;
}

.form input:focus,
.form select:focus,
.form textarea:focus {
  outline: 2px solid rgba(201, 162, 39, 0.45);
  outline-offset: 1px;
  border-color: var(--gold);
}

.form textarea {
  min-height: 150px;
  resize: vertical;
}

.field-error {
  color: var(--danger);
  font-size: 0.85rem;
  min-height: 1.1em;
}

.form-status {
  padding: 0.85rem 1rem;
  border-radius: var(--radius);
  display: none;
}

.form-status.is-success {
  display: block;
  background: rgba(111, 191, 154, 0.12);
  border: 1px solid rgba(111, 191, 154, 0.4);
  color: var(--success);
}

.form-status.is-error {
  display: block;
  background: rgba(224, 122, 106, 0.12);
  border: 1px solid rgba(224, 122, 106, 0.4);
  color: var(--danger);
}

.contact-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: start;
}

.contact-details {
  display: grid;
  gap: 1rem;
}

.contact-details dt {
  color: var(--gold);
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.25rem;
}

.contact-details dd {
  margin: 0 0 0.75rem;
  color: var(--text-muted);
}

.instructor {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 1.5rem;
  align-items: center;
  margin: 2rem 0;
  padding: 1.25rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--bg-elevated);
}

.instructor img {
  width: 160px;
  height: 160px;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid rgba(201, 162, 39, 0.4);
}

.case-study {
  margin: 1.5rem 0;
  padding: 1.75rem;
  border-left: 3px solid var(--gold);
  background: rgba(16, 20, 29, 0.85);
}

.site-footer {
  margin-top: 4rem;
  border-top: 1px solid var(--line);
  background: #05070b;
  padding: 3.5rem 0 1.5rem;
}

.footer-grid {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 0.8fr) 1.1fr;
  gap: 2rem;
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
}

.footer-tag,
.footer-contact p {
  color: var(--text-muted);
  font-size: 0.92rem;
}

.footer-heading {
  font-family: var(--font-body);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.9rem;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col li {
  margin-bottom: 0.45rem;
}

.footer-col a {
  color: var(--text-muted);
  text-decoration: none;
}

.footer-col a:hover {
  color: var(--gold-bright);
}

.footer-bottom {
  width: min(100% - 2.5rem, var(--max));
  margin: 2.5rem auto 0;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  color: var(--text-dim);
  font-size: 0.88rem;
}

.cookie-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 200;
  max-width: 720px;
  margin-inline: auto;
  background: rgba(16, 20, 29, 0.96);
  border: 1px solid rgba(201, 162, 39, 0.35);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
  animation: riseIn 0.45s var(--ease);
}

.cookie-banner-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  padding: 1.15rem 1.25rem;
}

.cookie-banner p {
  margin: 0;
  flex: 1 1 280px;
  color: var(--text-muted);
  font-size: 0.92rem;
}

.cookie-actions {
  display: flex;
  gap: 0.6rem;
}

.inline-error {
  margin: 1rem auto;
  width: min(100% - 2.5rem, var(--max));
  padding: 0.85rem 1rem;
  border: 1px solid rgba(224, 122, 106, 0.45);
  background: rgba(224, 122, 106, 0.1);
  color: var(--danger);
  border-radius: var(--radius);
}

.not-found {
  min-height: 60vh;
  display: grid;
  place-content: center;
  text-align: center;
  gap: 1rem;
  padding: 4rem 1.25rem;
}

.not-found h1 {
  font-size: clamp(3rem, 10vw, 6rem);
  color: var(--gold-bright);
  margin: 0;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@keyframes riseIn {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes heroDrift {
  from {
    transform: scale(1.04) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.08) translate3d(-1.5%, -1%, 0);
  }
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@media (max-width: 980px) {
  .feature-course,
  .contact-layout,
  .testimonial,
  .instructor,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .benefit-grid,
  .card-grid,
  .split-stats {
    grid-template-columns: 1fr 1fr;
  }

  .hero-aside {
    justify-self: start;
  }
}

@media (max-width: 760px) {
  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(7, 9, 14, 0.97);
    border-bottom: 1px solid var(--line);
    display: none;
    padding: 1rem 1.25rem 1.4rem;
  }

  .site-nav.is-open {
    display: block;
  }

  .nav-list {
    flex-direction: column;
    gap: 0.85rem;
  }

  .benefit-grid,
  .card-grid,
  .split-stats {
    grid-template-columns: 1fr;
  }

  .hero-brand-lockup {
    max-width: none;
  }

  .feature-course-media {
    min-height: 260px;
  }

  .cookie-banner {
    left: 0.75rem;
    right: 0.75rem;
    bottom: 0.75rem;
  }
}
