:root {
  --bg-deep: #0a0d12;
  --bg-night: #0f172a;
  --bg-ink: #07090d;
  --surface: #101826;
  --surface-soft: #151f2d;
  --gold: #c89b3c;
  --gold-light: #e0b85c;
  --ivory: #f3ede2;
  --warm-gray: #cfc7ba;
  --editorial-light: #e5e7eb;
  --editorial-dark: #1f2937;
  --technical-blue: #1e3a8a;
  --cyan: #06b6d4;
  --validation: #22c55e;
  --attention: #f59e0b;
  --border: rgba(200, 155, 60, 0.32);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.42);
  --max: 1180px;
  --font-display: Georgia, "Times New Roman", serif;
  --font-sans: Inter, Manrope, "IBM Plex Sans", Arial, sans-serif;
  --font-mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background:
    linear-gradient(135deg, rgba(6, 182, 212, 0.08), transparent 32rem),
    linear-gradient(180deg, var(--bg-deep), var(--bg-ink) 42%, #0d1118);
  color: var(--ivory);
  font-family: var(--font-sans);
  line-height: 1.55;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.55), transparent 70%);
  z-index: -1;
}

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

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px max(24px, calc((100vw - var(--max)) / 2));
  border-bottom: 1px solid rgba(200, 155, 60, 0.18);
  background: rgba(10, 13, 18, 0.82);
  backdrop-filter: blur(18px);
}

.brand,
.nav {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  color: var(--gold-light);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-decoration: none;
  text-transform: uppercase;
}

.brand img {
  width: 32px;
  height: 32px;
}

.nav {
  gap: 18px;
  color: var(--warm-gray);
  font-size: 0.9rem;
}

.nav a {
  text-decoration: none;
}

.nav a:hover {
  color: var(--gold-light);
}

.section-band {
  position: relative;
  padding: 86px 24px;
}

.section-inner,
.hero-inner {
  width: min(100%, var(--max));
  margin: 0 auto;
  min-width: 0;
}

.section-inner > *,
.hero-inner > *,
.hero-copy,
.hero-media {
  min-width: 0;
}

.hero {
  min-height: 82vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 72px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(200, 155, 60, 0.2);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 72% 24%, rgba(200, 155, 60, 0.16), transparent 24rem),
    linear-gradient(90deg, rgba(10, 13, 18, 0.98), rgba(15, 23, 42, 0.88) 47%, rgba(10, 13, 18, 0.96)),
    url("assets/metatron-pattern.svg");
  background-size: auto, auto, 560px;
  background-position: center;
  opacity: 0.92;
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 1.08fr);
  align-items: center;
  gap: 52px;
}

.author-line,
.section-label {
  margin: 0 0 18px;
  color: var(--gold-light);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: 0;
}

h1 {
  max-width: 720px;
  color: var(--ivory);
  font-size: 4.8rem;
  line-height: 0.95;
}

h2 {
  max-width: 780px;
  color: var(--ivory);
  font-size: 2.7rem;
  line-height: 1.05;
}

h3 {
  margin: 0 0 10px;
  color: var(--ivory);
  font-size: 1.02rem;
  letter-spacing: 0;
}

.subtitle {
  margin: 22px 0 0;
  max-width: 680px;
  color: var(--gold-light);
  font-size: 1.42rem;
  line-height: 1.25;
}

.promise {
  margin: 24px 0 0;
  max-width: 640px;
  color: var(--editorial-light);
  font-size: 1.12rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 13px 20px;
  border-radius: 8px;
  font-weight: 750;
  text-decoration: none;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    background 160ms ease;
}

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

.button-primary {
  border: 1px solid rgba(224, 184, 92, 0.72);
  background: linear-gradient(180deg, var(--gold-light), var(--gold));
  color: #111318;
  box-shadow: 0 12px 32px rgba(200, 155, 60, 0.2);
}

.button-secondary {
  border: 1px solid var(--border);
  background: rgba(15, 23, 42, 0.62);
  color: var(--ivory);
}

.hero-media {
  margin: 0;
  position: relative;
}

.hero-media img {
  width: 100%;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.problem {
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.88), rgba(10, 13, 18, 0.72));
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  gap: 52px;
  align-items: start;
}

.lead-block {
  border-left: 1px solid var(--border);
  padding-left: 28px;
  color: var(--editorial-light);
  font-size: 1.08rem;
}

.lead-block p {
  margin: 0 0 18px;
}

.lead-block p:last-child {
  margin-bottom: 0;
}

.solution,
.audience,
.final-cta {
  background: rgba(7, 9, 13, 0.84);
}

.section-heading {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 34px;
}

.method-rail {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1px;
  margin-top: 38px;
  border: 1px solid rgba(200, 155, 60, 0.24);
  border-radius: 8px;
  overflow: hidden;
  background: rgba(200, 155, 60, 0.18);
}

.method-rail article {
  min-height: 190px;
  padding: 24px;
  background: linear-gradient(180deg, rgba(16, 24, 38, 0.94), rgba(10, 13, 18, 0.94));
}

.method-rail span {
  display: block;
  margin-bottom: 34px;
  color: var(--cyan);
  font-family: var(--font-mono);
  font-size: 0.78rem;
}

.method-rail p,
.learn-grid p,
.audience-list p,
.bonus-item p,
.structure p,
.author p,
.final-cta p {
  margin: 0;
  color: var(--warm-gray);
}

.learn {
  background:
    linear-gradient(180deg, rgba(13, 17, 24, 0.96), rgba(16, 24, 38, 0.86)),
    linear-gradient(90deg, rgba(34, 197, 94, 0.06), transparent);
}

.learn-grid,
.audience-list {
  display: grid;
  gap: 14px;
}

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

.learn-grid article,
.audience-list article,
.bonus-item {
  border: 1px solid rgba(200, 155, 60, 0.2);
  border-radius: 8px;
  background: rgba(16, 24, 38, 0.74);
}

.learn-grid article,
.audience-list article {
  padding: 22px;
}

.learn-grid article:nth-child(3n + 1) {
  border-color: rgba(6, 182, 212, 0.28);
}

.learn-grid article:nth-child(3n + 2) {
  border-color: rgba(34, 197, 94, 0.24);
}

.learn-grid article:nth-child(3n) {
  border-color: rgba(245, 158, 11, 0.24);
}

.structure {
  background: linear-gradient(90deg, rgba(10, 13, 18, 0.98), rgba(15, 23, 42, 0.92));
}

.structure-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.78fr);
  gap: 46px;
  align-items: center;
}

.structure p {
  margin-top: 22px;
  max-width: 680px;
  font-size: 1.04rem;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.stats div {
  min-height: 150px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(243, 237, 226, 0.045);
  text-align: center;
}

.stats strong {
  color: var(--gold-light);
  font-family: var(--font-display);
  font-size: 4rem;
  line-height: 0.9;
}

.stats span {
  color: var(--editorial-light);
  font-weight: 700;
  text-transform: uppercase;
}

.audience-list {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 34px;
}

.bonus {
  background:
    linear-gradient(180deg, rgba(15, 23, 42, 0.9), rgba(7, 9, 13, 0.94)),
    url("assets/metatron-pattern.svg");
  background-size: auto, 460px;
  background-position: center;
}

.bonus-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.bonus-item {
  overflow: hidden;
}

.bonus-item img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center 34%;
  border-bottom: 1px solid rgba(200, 155, 60, 0.22);
}

.bonus-item div {
  padding: 24px;
}

.author {
  background: linear-gradient(90deg, rgba(10, 13, 18, 0.96), rgba(31, 41, 55, 0.56));
}

.author-inner {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 28px;
  align-items: center;
}

.author-inner img {
  width: 88px;
  height: 88px;
}

.author p,
.final-cta p {
  max-width: 760px;
  margin-top: 20px;
  font-size: 1.05rem;
}

.cta-panel {
  padding: 54px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(200, 155, 60, 0.12), transparent 34rem),
    rgba(16, 24, 38, 0.82);
  box-shadow: var(--shadow);
}

.cta-panel .button {
  margin-top: 30px;
}

.footer {
  padding: 28px 24px;
  border-top: 1px solid rgba(200, 155, 60, 0.2);
  background: #07090d;
  color: var(--warm-gray);
  text-align: center;
}

.footer p {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 0.82rem;
}

@media (max-width: 980px) {
  .hero-inner,
  .two-column,
  .structure-inner {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  h1 {
    font-size: 3.7rem;
  }

  h2 {
    font-size: 2.25rem;
  }

  .method-rail,
  .learn-grid,
  .audience-list,
  .bonus-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .site-header {
    position: static;
    align-items: flex-start;
    flex-direction: column;
  }

  .nav {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    gap: 10px 18px;
    font-size: 0.82rem;
  }

  .nav a {
    padding: 8px 0;
  }

  .section-band {
    padding: 64px 18px;
  }

  .section-inner,
  .hero-inner {
    width: min(330px, calc(100vw - 36px));
    max-width: 330px;
    margin-left: 0;
    margin-right: auto;
  }

  .hero-copy,
  .subtitle,
  .promise {
    width: 100%;
    max-width: 330px;
  }

  .hero {
    padding-top: 54px;
  }

  h1 {
    max-width: 100%;
    font-size: 2.55rem;
    line-height: 1;
  }

  h2 {
    font-size: 1.72rem;
  }

  .subtitle {
    font-size: 1.18rem;
  }

  .promise {
    font-size: 1rem;
  }

  .button {
    width: 100%;
  }

  .lead-block {
    padding-left: 18px;
  }

  .method-rail,
  .learn-grid,
  .audience-list,
  .bonus-grid,
  .stats {
    grid-template-columns: 1fr;
  }

  .method-rail article {
    min-height: 0;
  }

  .method-rail span {
    margin-bottom: 14px;
  }

  .author-inner {
    grid-template-columns: 1fr;
  }

  .cta-panel {
    padding: 30px 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .button {
    transition: none;
  }
}
