:root {
  --bg: #0a0b0b;
  --bg-soft: #101211;
  --surface: rgba(255, 255, 255, 0.045);
  --surface-strong: rgba(255, 255, 255, 0.075);
  --text: #f4efe7;
  --muted: rgba(244, 239, 231, 0.68);
  --quiet: rgba(244, 239, 231, 0.46);
  --line: rgba(218, 184, 108, 0.22);
  --gold: #d8b86c;
  --gold-deep: #9e7a31;
  --green: #103a32;
  --shadow: 0 34px 100px rgba(0, 0, 0, 0.46);
  --serif: "Tenor Sans", Georgia, serif;
  --sans: "IBM Plex Sans", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 22% 0%, rgba(216, 184, 108, 0.18), transparent 30rem),
    radial-gradient(circle at 88% 12%, rgba(16, 58, 50, 0.55), transparent 24rem),
    linear-gradient(145deg, #080909 0%, #0d0f0e 50%, #07130f 100%);
  color: var(--text);
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  opacity: 0.36;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, #000 0%, transparent 82%);
}

a {
  color: inherit;
}

.page-shell {
  width: min(1180px, calc(100% - 44px));
  min-height: 100svh;
  margin: 0 auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 30px 0 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid var(--line);
  color: var(--gold);
  font-family: var(--serif);
  font-size: 12px;
  letter-spacing: 0.02em;
}

.header-link {
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: color 180ms ease;
}

.header-link:hover {
  color: var(--text);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: 32px;
  align-items: end;
  padding: 62px 0 68px;
}

.hero-copy {
  padding: 0 0 22px;
}

.lesson-label {
  margin: 0 0 24px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.18em;
  line-height: 1.5;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 620px;
  margin-bottom: 24px;
  font-family: var(--serif);
  font-size: clamp(54px, 7.4vw, 112px);
  font-weight: 400;
  line-height: 0.93;
  letter-spacing: 0;
}

h1 span {
  display: block;
}

.hero-lead {
  max-width: 560px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: clamp(17px, 1.55vw, 21px);
  line-height: 1.72;
}

.lesson-panel {
  position: relative;
  min-width: 0;
  padding: 10px;
  border: 1px solid rgba(216, 184, 108, 0.28);
  background:
    linear-gradient(140deg, rgba(216, 184, 108, 0.16), transparent 28%),
    rgba(255, 255, 255, 0.045);
  box-shadow: var(--shadow);
}

.lesson-panel::before,
.lesson-panel::after {
  position: absolute;
  z-index: -1;
  content: "";
}

.lesson-panel::before {
  inset: -38px 18% auto 18%;
  height: 42px;
  border-radius: 999px;
  background: rgba(216, 184, 108, 0.16);
  filter: blur(28px);
}

.lesson-panel::after {
  right: -18px;
  bottom: -18px;
  width: 44%;
  height: 44%;
  border-right: 1px solid rgba(216, 184, 108, 0.42);
  border-bottom: 1px solid rgba(216, 184, 108, 0.42);
}

.video-shell {
  position: relative;
  aspect-ratio: 16 / 9;
  min-width: 0;
  overflow: hidden;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.08), transparent),
    #050606;
}

.video-shell iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.action-row {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 0 0;
  border-top: 1px solid rgba(244, 239, 231, 0.11);
}

.hero-copy,
.action-copy,
.section-heading,
.steps-grid,
.steps-grid article {
  min-width: 0;
}

.action-copy {
  display: grid;
  gap: 6px;
}

.action-copy span {
  color: var(--gold);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.action-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.55;
}

.primary-cta {
  display: inline-flex;
  min-height: 60px;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 0 28px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: linear-gradient(135deg, #ead085, #b88d36);
  color: #11110d;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
  text-transform: uppercase;
  box-shadow: 0 22px 48px rgba(158, 122, 49, 0.26);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    filter 180ms ease;
  white-space: nowrap;
}

.primary-cta:hover {
  transform: translateY(-2px);
  filter: saturate(1.05);
  box-shadow: 0 28px 58px rgba(158, 122, 49, 0.34);
}

.primary-cta:focus-visible,
.header-link:focus-visible,
.brand:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
}

.continuation {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
  gap: 42px;
  padding: 64px 0 92px;
  border-top: 1px solid rgba(216, 184, 108, 0.2);
}

.section-heading h2 {
  margin-bottom: 18px;
  font-family: var(--serif);
  font-size: clamp(34px, 4vw, 58px);
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: 0;
}

.section-heading p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
}

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

.steps-grid article {
  min-height: 240px;
  padding: 24px 22px;
  border: 1px solid rgba(244, 239, 231, 0.11);
  background: linear-gradient(180deg, var(--surface-strong), rgba(255, 255, 255, 0.025));
}

.steps-grid span {
  display: block;
  margin-bottom: 48px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.steps-grid h3 {
  margin-bottom: 12px;
  font-size: 19px;
  line-height: 1.2;
}

.steps-grid p {
  margin-bottom: 0;
  color: var(--quiet);
  font-size: 15px;
  line-height: 1.6;
}

@media (max-width: 940px) {
  .page-shell {
    width: min(100% - 32px, 720px);
  }

  .hero,
  .continuation {
    grid-template-columns: 1fr;
  }

  .hero {
    gap: 28px;
    padding-top: 42px;
  }

  .hero-copy {
    padding-bottom: 0;
  }

  .action-row {
    align-items: stretch;
    flex-direction: column;
  }

  .primary-cta {
    width: 100%;
  }

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

  .steps-grid article {
    min-height: 0;
  }

  .steps-grid span {
    margin-bottom: 28px;
  }
}

@media (max-width: 560px) {
  .page-shell {
    width: min(calc(100% - 48px), 342px);
    margin-right: auto;
    margin-left: 24px;
  }

  .site-header {
    align-items: flex-start;
    padding-top: 22px;
  }

  .brand {
    max-width: 190px;
    font-size: 12px;
    line-height: 1.35;
  }

  .header-link {
    font-size: 13px;
  }

  .hero {
    padding: 36px 0 48px;
  }

  .lesson-label {
    margin-bottom: 18px;
    font-size: 11px;
  }

  h1 {
    margin-bottom: 20px;
    font-size: clamp(46px, 14vw, 60px);
  }

  .hero-lead {
    font-size: 16px;
    line-height: 1.62;
  }

  .lesson-panel {
    padding: 6px;
  }

  .action-row {
    padding-top: 20px;
  }

  .primary-cta {
    min-height: 58px;
    padding: 0 18px;
    font-size: 13px;
  }

  .continuation {
    gap: 28px;
    padding: 48px 0 64px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
