:root {
  --bg-deep: #070b10;
  --bg: #0b1218;
  --bg-elevated: #121b24;
  --bg-soft: #172331;
  --line: rgba(201, 168, 106, 0.18);
  --line-strong: rgba(94, 234, 212, 0.28);
  --text: #e8eef4;
  --text-muted: #8ba3b5;
  --gold: #c9a86a;
  --gold-bright: #e4c48a;
  --teal: #5eead4;
  --teal-dim: #2a9f8f;
  --danger: #f07178;
  --success: #7dcea0;
  --radius: 4px;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  --font-display: "Syne", sans-serif;
  --font-body: "Manrope", sans-serif;
  --header-h: 76px;
  --max: 1120px;
}

*,
*::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.7;
  color: var(--text);
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(94, 234, 212, 0.08), transparent 55%),
    radial-gradient(900px 500px at 90% 0%, rgba(201, 168, 106, 0.1), transparent 50%),
    linear-gradient(180deg, #0a1118 0%, var(--bg-deep) 40%, #081018 100%);
  min-height: 100vh;
}

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

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

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

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;
  color: var(--text-muted);
}

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

.inline-error {
  background: #3a1820;
  color: #ffc9ce;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid #7a2e3a;
  font-size: 0.95rem;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(16px);
  background: rgba(7, 11, 16, 0.82);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  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.15rem;
  letter-spacing: -0.01em;
}

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

.brand-mark {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background:
    radial-gradient(circle at 70% 30%, var(--teal), transparent 45%),
    linear-gradient(145deg, #1c2a38, #0d151d);
  border: 1px solid var(--gold);
  box-shadow: inset 0 0 0 1px rgba(94, 234, 212, 0.25);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.15rem;
}

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

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

.site-nav .nav-cta {
  color: var(--bg-deep);
  background: linear-gradient(135deg, var(--gold), var(--gold-bright));
  padding: 0.55rem 1rem;
  border-radius: var(--radius);
  font-weight: 700;
}

.site-nav .nav-cta:hover {
  color: var(--bg-deep);
  filter: brightness(1.05);
}

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

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  padding: 0.85rem 1.35rem;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.98rem;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.2s ease, filter 0.2s ease, background 0.2s ease, color 0.2s ease;
}

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

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

.btn-primary:hover {
  color: #14100a;
  filter: brightness(1.06);
}

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

.btn-secondary:hover {
  background: rgba(94, 234, 212, 0.08);
  color: var(--teal);
}

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

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

.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

/* Hero home — brand-forward, full-bleed visual plane */
.hero-home {
  position: relative;
  min-height: calc(100vh - var(--header-h));
  display: grid;
  align-items: end;
  overflow: hidden;
  isolation: isolate;
}

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

.hero-home-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.75) brightness(0.45);
  animation: slowZoom 18s ease-in-out infinite alternate;
}

.hero-home::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(7, 11, 16, 0.35) 0%, rgba(7, 11, 16, 0.72) 45%, rgba(7, 11, 16, 0.96) 100%),
    linear-gradient(90deg, rgba(7, 11, 16, 0.85) 0%, rgba(7, 11, 16, 0.25) 55%, transparent 100%);
}

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

.hero-brand {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 8vw, 5.5rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--text);
  margin: 0 0 1rem;
  animation: riseIn 0.9s ease both;
}

.hero-brand span {
  display: block;
  background: linear-gradient(120deg, var(--text) 20%, var(--gold-bright) 55%, var(--teal) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-kicker {
  display: inline-block;
  color: var(--gold);
  font-size: 0.85rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 1rem;
  animation: riseIn 0.9s ease 0.1s both;
}

.hero-lead {
  max-width: 34rem;
  font-size: 1.15rem;
  color: #c5d3de;
  margin-bottom: 2rem;
  animation: riseIn 0.9s ease 0.2s both;
}

.hero-actions {
  animation: riseIn 0.9s ease 0.3s both;
}

.hero-actions .btn + .btn {
  margin-left: 0.75rem;
}

/* Page heroes (inner) */
.page-hero {
  padding: 4.5rem 0 2.5rem;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(18, 27, 36, 0.65), transparent),
    radial-gradient(600px 240px at 80% 0%, rgba(201, 168, 106, 0.12), transparent 70%);
}

.page-hero h1 {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  max-width: 18ch;
}

.page-hero p {
  max-width: 42rem;
  font-size: 1.1rem;
}

.page-hero.with-media {
  padding: 0;
  border: none;
  position: relative;
  min-height: 42vh;
  display: grid;
  align-items: end;
  overflow: hidden;
}

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

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

.page-hero.with-media .container {
  padding: 5rem 0 3rem;
}

/* Sections */
.section {
  padding: 4.5rem 0;
}

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

.section-label {
  color: var(--gold);
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
  font-weight: 700;
}

.section h2 {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  margin-bottom: 1rem;
}

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

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

.split img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

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

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

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

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

.feature-list {
  display: grid;
  gap: 1.25rem;
}

.feature-item {
  padding: 1.25rem 0;
  border-top: 1px solid var(--line);
}

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

.feature-item h3 {
  font-size: 1.2rem;
  color: var(--text);
  margin-bottom: 0.35rem;
}

.course-grid,
.blog-grid,
.pricing-grid,
.review-grid {
  display: grid;
  gap: 1.5rem;
}

.course-grid,
.blog-grid {
  grid-template-columns: repeat(3, 1fr);
}

.pricing-grid {
  grid-template-columns: repeat(3, 1fr);
  align-items: stretch;
}

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

.media-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.25s ease, transform 0.25s ease;
  text-decoration: none;
  color: inherit;
}

.media-card:hover {
  border-color: var(--line-strong);
  transform: translateY(-3px);
  color: inherit;
}

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

.media-card .body {
  padding: 1.25rem 1.35rem 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.media-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  color: var(--text);
}

.media-card p {
  flex: 1;
  font-size: 0.98rem;
}

.meta {
  margin-top: 1rem;
  color: var(--gold);
  font-size: 0.85rem;
  letter-spacing: 0.04em;
}

.price-panel {
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
}

.price-panel.featured {
  border-color: var(--gold);
  background:
    linear-gradient(180deg, rgba(201, 168, 106, 0.1), transparent 40%),
    var(--bg-elevated);
  box-shadow: var(--shadow);
}

.price-panel h3 {
  font-size: 1.35rem;
}

.price-panel .amount {
  font-family: var(--font-display);
  font-size: 2.4rem;
  color: var(--gold-bright);
  margin: 0.5rem 0 1rem;
}

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

.price-panel ul {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
  flex: 1;
}

.price-panel li {
  padding: 0.45rem 0;
  color: var(--text-muted);
  border-bottom: 1px solid rgba(139, 163, 181, 0.12);
  padding-left: 1.1rem;
  position: relative;
}

.price-panel li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--teal);
  position: absolute;
  left: 0;
  top: 0.9rem;
}

.quote {
  background: var(--bg-elevated);
  border-left: 3px solid var(--gold);
  padding: 1.5rem 1.5rem 1.35rem;
  margin: 0;
}

.quote p {
  color: var(--text);
  font-size: 1.05rem;
  margin-bottom: 1rem;
}

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

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

.case-study {
  padding: 2rem 0;
  border-top: 1px solid var(--line);
}

.case-study h3 {
  font-size: 1.45rem;
}

.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;
  color: var(--text);
  font-family: var(--font-display);
}

.faq details p {
  margin-top: 0.75rem;
}

.cta-band {
  margin: 2rem 0 4rem;
  padding: 2.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(120deg, rgba(94, 234, 212, 0.08), transparent 40%),
    linear-gradient(300deg, rgba(201, 168, 106, 0.12), transparent 45%),
    var(--bg-elevated);
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  align-items: center;
  justify-content: space-between;
}

.cta-band h2 {
  margin: 0 0 0.4rem;
  font-size: 1.7rem;
}

.cta-band p {
  margin: 0;
  max-width: 34rem;
}

.modules {
  display: grid;
  gap: 0.85rem;
}

.module {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  padding: 1rem 1.15rem;
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.module-num {
  font-family: var(--font-display);
  color: var(--gold);
  font-weight: 700;
}

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

.instructor img {
  width: 140px;
  height: 140px;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid var(--gold);
}

.legal-content {
  max-width: 48rem;
}

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

.legal-content ul,
.legal-content ol {
  color: var(--text-muted);
  padding-left: 1.25rem;
}

.legal-content li {
  margin-bottom: 0.45rem;
}

.table-wrap {
  overflow-x: auto;
  margin: 1.5rem 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

th,
td {
  padding: 0.85rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--line);
  color: var(--text-muted);
}

th {
  background: var(--bg-soft);
  color: var(--text);
  font-weight: 700;
}

/* Forms */
.contact-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.5rem;
}

.field {
  margin-bottom: 1.15rem;
}

.field label {
  display: block;
  margin-bottom: 0.35rem;
  font-weight: 600;
  color: var(--text);
}

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

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 2px solid rgba(94, 234, 212, 0.35);
  border-color: var(--teal-dim);
}

.field [aria-invalid="true"] {
  border-color: var(--danger);
}

.field-error {
  min-height: 1.2em;
  color: var(--danger);
  font-size: 0.88rem;
  margin-top: 0.3rem;
}

.form-status {
  margin-top: 1rem;
  min-height: 1.4em;
}

.form-status.is-success {
  color: var(--success);
}

.form-status.is-error {
  color: var(--danger);
}

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

.contact-aside address {
  font-style: normal;
  color: var(--text-muted);
  line-height: 1.8;
}

.contact-aside a {
  color: var(--teal);
}

/* Footer */
.site-footer {
  margin-top: 3rem;
  border-top: 1px solid var(--line);
  background: #06090d;
  padding: 3.5rem 0 1.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 2rem;
}

.footer-brand p {
  margin-top: 1rem;
  max-width: 28ch;
}

.footer-heading {
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}

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

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  display: inline-block;
  padding: 0.25rem 0;
}

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

.footer-address {
  font-style: normal;
  color: var(--text-muted);
  line-height: 1.85;
}

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

.footer-address a:hover {
  color: var(--teal);
}

.footer-bottom {
  margin-top: 2.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
}

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

/* Cookie banner */
.cookie-banner {
  position: fixed;
  bottom: 1rem;
  left: 1rem;
  right: 1rem;
  z-index: 60;
  max-width: 640px;
  margin-inline: auto;
}

.cookie-banner-inner {
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.15rem 1.25rem;
  box-shadow: var(--shadow);
  display: grid;
  gap: 1rem;
}

.cookie-banner-inner p {
  margin: 0;
  font-size: 0.95rem;
}

.cookie-actions {
  display: flex;
  gap: 0.75rem;
  justify-content: flex-end;
  flex-wrap: wrap;
}

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

.error-page .code {
  font-family: var(--font-display);
  font-size: clamp(4rem, 12vw, 8rem);
  color: var(--gold);
  line-height: 1;
  margin-bottom: 0.5rem;
}

/* Reveal motion */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

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

@keyframes slowZoom {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.08);
  }
}

.prose-wide {
  max-width: 44rem;
}

.article-hero img {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  margin: 1.5rem 0 2rem;
}

.article-meta {
  color: var(--gold);
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.checklist {
  list-style: none;
  padding: 0;
  margin: 0;
}

.checklist li {
  position: relative;
  padding: 0.55rem 0 0.55rem 1.4rem;
  color: var(--text-muted);
  border-bottom: 1px solid rgba(139, 163, 181, 0.12);
}

.checklist li::before {
  content: "▸";
  position: absolute;
  left: 0;
  color: var(--teal);
}

@media (max-width: 960px) {
  .split,
  .contact-layout,
  .course-grid,
  .blog-grid,
  .pricing-grid,
  .footer-grid,
  .two-col,
  .instructor {
    grid-template-columns: 1fr;
  }

  .proof-grid {
    grid-template-columns: 1fr;
  }

  .review-grid {
    grid-template-columns: 1fr;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: rgba(7, 11, 16, 0.98);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    padding: 1rem 1.25rem 1.5rem;
    gap: 0.25rem;
  }

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

  .site-nav a {
    padding: 0.75rem 0.25rem;
  }

  .site-nav .nav-cta {
    text-align: center;
    margin-top: 0.5rem;
  }

  .hero-actions .btn {
    display: inline-flex;
    margin: 0.35rem 0.35rem 0 0;
  }

  .hero-actions .btn + .btn {
    margin-left: 0;
  }
}

@media (max-width: 600px) {
  .cta-band {
    padding: 1.5rem;
  }

  .cookie-actions {
    justify-content: stretch;
  }

  .cookie-actions .btn {
    flex: 1;
  }
}
