:root {
  --bg: #07080a;
  --bg-elevated: #101218;
  --bg-soft: #161922;
  --line: rgba(232, 226, 214, 0.12);
  --line-strong: rgba(212, 175, 106, 0.35);
  --text: #e8e2d6;
  --text-muted: #9a9488;
  --gold: #d4af6a;
  --gold-bright: #e8c989;
  --gold-dim: #8a6f3d;
  --ink: #050608;
  --danger: #e07a6a;
  --success: #6fbf97;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  --radius: 4px;
  --header-h: 4.5rem;
  --font-display: "Syne", sans-serif;
  --font-body: "Manrope", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --max: 72rem;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--text);
  background:
    radial-gradient(1200px 700px at 80% -10%, rgba(212, 175, 106, 0.12), transparent 55%),
    radial-gradient(900px 500px at -10% 20%, rgba(90, 120, 160, 0.08), transparent 50%),
    linear-gradient(180deg, #090a0d 0%, var(--bg) 40%, #0a0c10 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.2em;
  transition: color 0.2s var(--ease), opacity 0.2s var(--ease);
}

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

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

p {
  margin: 0 0 1rem;
}

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

.visually-hidden {
  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: -100%;
  z-index: 1000;
  background: var(--gold);
  color: var(--ink);
  padding: 0.6rem 1rem;
  font-weight: 700;
}

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

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

.wrap-narrow {
  width: min(100% - 2rem, 46rem);
  margin-inline: auto;
}

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

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

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

.brand-mark {
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 0.35rem;
  background: linear-gradient(135deg, var(--gold-bright), var(--gold-dim));
  box-shadow: 0 0 0 1px rgba(212, 175, 106, 0.35);
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--line);
  width: 2.75rem;
  height: 2.75rem;
  border-radius: var(--radius);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

.nav-toggle-bar,
.nav-toggle-bar::before,
.nav-toggle-bar::after {
  display: block;
  width: 1.15rem;
  height: 2px;
  background: var(--text);
  position: relative;
}

.nav-toggle-bar::before,
.nav-toggle-bar::after {
  content: "";
  position: absolute;
  left: 0;
}

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

.nav-list {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 0.15rem 1.15rem;
  margin: 0;
  padding: 0;
}

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

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

.nav-cta {
  display: inline-flex;
  align-items: center;
  padding: 0.55rem 0.95rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  color: var(--gold-bright) !important;
  background: rgba(212, 175, 106, 0.08);
}

.nav-cta:hover {
  background: rgba(212, 175, 106, 0.16);
}

@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }
  .site-nav {
    position: absolute;
    inset: var(--header-h) 0 auto;
    background: rgba(10, 11, 14, 0.98);
    border-bottom: 1px solid var(--line);
    padding: 1rem 1.25rem 1.4rem;
    display: none;
  }
  .site-nav[data-open="true"] { display: block; }
  .nav-list {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.85rem;
  }
}

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

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

.btn-primary {
  background: linear-gradient(135deg, var(--gold-bright), var(--gold));
  color: var(--ink);
}

.btn-primary:hover { color: var(--ink); }

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

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

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.hero {
  position: relative;
  min-height: calc(100vh - var(--header-h));
  display: grid;
  align-items: end;
  overflow: hidden;
  isolation: isolate;
}

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

.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::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(7, 8, 10, 0.35) 0%, rgba(7, 8, 10, 0.55) 40%, rgba(7, 8, 10, 0.92) 100%),
    linear-gradient(90deg, rgba(7, 8, 10, 0.75), transparent 55%);
}

.hero-content {
  width: min(100% - 2rem, var(--max));
  margin: 0 auto;
  padding: 5rem 0 4.5rem;
}

.hero-brand {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 8vw, 6.2rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 0.95;
  margin: 0 0 1.25rem;
  background: linear-gradient(120deg, #fff8ea 10%, var(--gold-bright) 45%, #b9975a 90%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: riseIn 0.9s var(--ease) both;
}

.hero-line {
  max-width: 34rem;
  font-size: clamp(1.1rem, 2.2vw, 1.35rem);
  color: var(--text);
  animation: riseIn 1s var(--ease) 0.12s both;
}

.hero-cta {
  animation: riseIn 1s var(--ease) 0.22s both;
}

.page-hero {
  padding: 4rem 0 2.5rem;
  border-bottom: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}

.page-hero.with-media {
  min-height: 22rem;
  display: grid;
  align-items: end;
}

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

.page-hero.with-media .hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.35) saturate(0.7);
}

.page-kicker {
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.75rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.page-title {
  font-size: clamp(2rem, 5vw, 3.4rem);
  max-width: 18ch;
}

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

.section {
  padding: 4.5rem 0;
}

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

.section-head {
  margin-bottom: 2rem;
  max-width: 40rem;
}

.section-head h2 {
  font-size: clamp(1.7rem, 3.5vw, 2.5rem);
}

.muted {
  color: var(--text-muted);
}

.gold {
  color: var(--gold-bright);
}

.divider {
  height: 1px;
  background: var(--line);
  border: 0;
  margin: 0;
}

.proof-strip {
  border-block: 1px solid var(--line);
  background: rgba(16, 18, 24, 0.7);
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  padding: 1.75rem 0;
}

.proof-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--gold-bright);
  letter-spacing: -0.03em;
}

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

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

.split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.5rem;
  align-items: center;
}

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

.media-frame {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.media-frame img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}

.media-frame:hover img {
  transform: scale(1.04);
}

.benefit-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
  display: grid;
  gap: 1rem;
}

.benefit-list li {
  padding: 1rem 0;
  border-top: 1px solid var(--line);
}

.benefit-list li:last-child {
  border-bottom: 1px solid var(--line);
}

.benefit-list strong {
  display: block;
  font-family: var(--font-display);
  margin-bottom: 0.35rem;
  font-size: 1.15rem;
}

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

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

.course-card,
.post-card,
.price-card,
.review-block {
  background: linear-gradient(180deg, rgba(22, 25, 34, 0.95), rgba(12, 14, 18, 0.95));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease);
}

.course-card:hover,
.post-card:hover,
.price-card:hover {
  border-color: var(--line-strong);
  transform: translateY(-3px);
}

.course-card a,
.post-card a {
  color: inherit;
  text-decoration: none;
  display: block;
  height: 100%;
}

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

.card-body {
  padding: 1.25rem 1.25rem 1.5rem;
}

.card-meta {
  color: var(--gold);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.card-body h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.card-body p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 0;
}

.price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  align-items: stretch;
}

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

.price-card {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
}

.price-card.featured {
  border-color: var(--line-strong);
  box-shadow: 0 0 0 1px rgba(212, 175, 106, 0.2), var(--shadow);
  background:
    radial-gradient(500px 200px at 50% 0%, rgba(212, 175, 106, 0.12), transparent 70%),
    linear-gradient(180deg, rgba(22, 25, 34, 0.98), rgba(12, 14, 18, 0.98));
}

.price-name {
  font-family: var(--font-display);
  font-size: 1.35rem;
  margin-bottom: 0.35rem;
}

.price-amount {
  font-family: var(--font-display);
  font-size: 2.4rem;
  letter-spacing: -0.03em;
  margin: 0.75rem 0;
}

.price-amount span {
  font-size: 1rem;
  color: var(--text-muted);
  font-family: var(--font-body);
  font-weight: 500;
}

.price-card ul {
  margin: 1rem 0 1.5rem;
  padding-left: 1.1rem;
  color: var(--text-muted);
  flex: 1;
}

.price-note {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 1rem;
}

.quote-stack {
  display: grid;
  gap: 1.25rem;
}

.review-block {
  padding: 1.5rem 1.6rem;
}

.review-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1.25rem;
}

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

.stars {
  color: var(--gold);
  letter-spacing: 0.1em;
  font-size: 0.85rem;
  margin-bottom: 0.75rem;
}

.review-attr {
  margin-top: 1rem;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.case-study {
  border-left: 2px solid var(--gold);
  padding-left: 1.25rem;
  margin-top: 2rem;
}

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

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

.form-row label {
  font-weight: 600;
  font-size: 0.92rem;
}

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

.form-row textarea {
  min-height: 9rem;
  resize: vertical;
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--line-strong);
  box-shadow: 0 0 0 3px rgba(212, 175, 106, 0.15);
}

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

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

.form-status.is-success {
  display: block;
  border-color: rgba(111, 191, 151, 0.4);
  color: var(--success);
  background: rgba(111, 191, 151, 0.08);
}

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

.contact-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
}

@media (max-width: 800px) {
  .contact-panel { grid-template-columns: 1fr; }
}

.contact-details {
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
}

.contact-details p {
  margin-bottom: 0.75rem;
}

.faq details {
  border-top: 1px solid var(--line);
  padding: 1rem 0;
}

.faq details:last-child {
  border-bottom: 1px solid var(--line);
}

.faq summary {
  cursor: pointer;
  font-weight: 700;
  font-family: var(--font-display);
  list-style: none;
}

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

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

.module-list {
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: mod;
}

.module-list li {
  counter-increment: mod;
  display: grid;
  grid-template-columns: 3rem 1fr;
  gap: 1rem;
  padding: 1.15rem 0;
  border-bottom: 1px solid var(--line);
}

.module-list li::before {
  content: counter(mod, decimal-leading-zero);
  font-family: var(--font-display);
  color: var(--gold);
  font-weight: 700;
}

.legal-content h2 {
  margin-top: 2.25rem;
  font-size: 1.4rem;
}

.legal-content table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
  margin: 1rem 0 1.5rem;
}

.legal-content th,
.legal-content td {
  border: 1px solid var(--line);
  padding: 0.7rem 0.8rem;
  text-align: left;
  vertical-align: top;
}

.legal-content th {
  background: var(--bg-soft);
  color: var(--gold-bright);
}

.cookie-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 200;
  max-width: 34rem;
  margin-left: auto;
  background: rgba(12, 14, 18, 0.96);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  padding: 1.15rem 1.25rem;
  box-shadow: var(--shadow);
  display: none;
}

.cookie-banner.is-visible {
  display: block;
  animation: riseIn 0.45s var(--ease);
}

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

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

.inline-error {
  margin: 0.75rem 0;
  padding: 0.75rem 1rem;
  border: 1px solid rgba(224, 122, 106, 0.45);
  color: var(--danger);
  background: rgba(224, 122, 106, 0.08);
  border-radius: var(--radius);
  font-size: 0.9rem;
}

.cta-band {
  margin: 2rem 0 4rem;
  padding: 2.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    radial-gradient(600px 180px at 10% 0%, rgba(212, 175, 106, 0.14), transparent 60%),
    var(--bg-elevated);
}

.cta-band h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  max-width: 18ch;
}

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

.instructor img {
  width: 8rem;
  height: 8rem;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid var(--line-strong);
}

@media (max-width: 560px) {
  .instructor {
    grid-template-columns: 1fr;
    justify-items: start;
  }
}

.site-footer {
  margin-top: 2rem;
  border-top: 1px solid var(--line);
  background: rgba(8, 9, 12, 0.9);
  padding: 3.5rem 0 1.5rem;
}

.footer-grid {
  width: min(100% - 2rem, var(--max));
  margin: 0 auto 2rem;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 2rem;
}

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

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

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

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

.footer-heading {
  font-family: var(--font-display);
  font-weight: 700;
  margin-bottom: 0.85rem;
}

.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-contact p {
  color: var(--text-muted);
  font-size: 0.92rem;
}

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

.footer-bottom p { margin: 0; }

.error-page {
  min-height: 70vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 3rem 1rem;
}

.error-page h1 {
  font-size: clamp(4rem, 15vw, 8rem);
  background: linear-gradient(120deg, var(--text), var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 0.5rem;
}

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

[data-reveal].is-in {
  opacity: 1;
  transform: none;
}

@keyframes riseIn {
  from { opacity: 0; transform: translateY(18px); }
  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); }
}

.prose p + h2,
.prose p + h3 {
  margin-top: 2rem;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1rem 0;
}

.tag {
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid var(--line-strong);
  padding: 0.3rem 0.55rem;
  border-radius: var(--radius);
}
