:root {
  --ink: #13110f;
  --coal: #241811;
  --brown: #4a2e25;
  --paper: #faf7f0;
  --white: #ffffff;
  --muted: #735f51;
  --line: rgba(36, 24, 17, 0.15);
  --ember: #ef5a22;
  --ember-dark: #9f3218;
  --gold: #f3b13d;
  --sand: #ece5d9;
  --shadow: 0 24px 70px rgba(36, 24, 17, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(180deg, #fff 0%, var(--paper) 58%, #fff 100%);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  line-height: 1.5;
}

a {
  color: inherit;
  text-decoration: none;
}

.topbar {
  align-items: center;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 24px;
  justify-content: space-between;
  min-height: 72px;
  padding: 14px clamp(18px, 4vw, 56px);
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(16px);
}

.brand {
  align-items: center;
  display: inline-flex;
  flex-shrink: 0;
}

.brand-logo img {
  display: block;
  height: 48px;
  width: auto;
}

.header-actions {
  align-items: center;
  display: flex;
  gap: 12px;
}

.header-cta {
  background: var(--ink);
  border-radius: 6px;
  color: var(--white);
  display: inline-flex;
  font-size: 0.92rem;
  font-weight: 800;
  justify-content: center;
  padding: 11px 14px;
  white-space: nowrap;
}

.header-cta:hover {
  background: var(--ember-dark);
}

.nav-actions {
  align-items: center;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 48px rgba(18, 15, 13, 0.16);
  display: none;
  flex-direction: column;
  gap: 0;
  font-size: 0.92rem;
  font-weight: 750;
  min-width: 250px;
  padding: 8px;
  position: absolute;
  right: clamp(18px, 4vw, 56px);
  top: calc(100% + 10px);
}

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

.nav-actions a {
  border-radius: 6px;
  display: block;
  padding: 11px 12px;
  width: 100%;
}

.nav-actions a:hover {
  background: rgba(239, 90, 34, 0.08);
  color: var(--ember-dark);
}

.menu-toggle {
  align-items: center;
  background: var(--ink);
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  display: inline-flex;
  flex-direction: column;
  gap: 5px;
  height: 44px;
  justify-content: center;
  padding: 0;
  width: 44px;
}

.menu-toggle span {
  background: var(--white);
  border-radius: 999px;
  display: block;
  height: 2px;
  transition: opacity 0.18s ease, transform 0.18s ease;
  width: 22px;
}

.menu-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-7px) rotate(-45deg);
}

.hero {
  isolation: isolate;
  position: relative;
  display: grid;
  gap: clamp(28px, 4vw, 52px);
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.65fr);
  margin: 0 auto;
  max-width: 1220px;
  padding: 32px clamp(18px, 4vw, 44px) 42px;
}

.hero::before {
  background:
    radial-gradient(circle at 82% 12%, rgba(239, 90, 34, 0.22), transparent 26%),
    linear-gradient(108deg, rgba(255, 255, 255, 0.96) 0%, rgba(250, 247, 240, 0.92) 45%, rgba(236, 229, 220, 0.82) 100%);
  content: "";
  inset: 0 calc(50% - 50vw);
  position: absolute;
  z-index: -2;
}

.hero::after {
  background:
    linear-gradient(90deg, rgba(19, 17, 15, 0.1) 1px, transparent 1px),
    linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.98));
  background-size: 54px 54px, auto;
  bottom: 0;
  content: "";
  height: 160px;
  left: calc(50% - 50vw);
  position: absolute;
  right: calc(50% - 50vw);
  z-index: -1;
}

.eyebrow,
.small-label {
  color: var(--ember-dark);
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.14em;
  margin: 0 0 12px;
  text-transform: uppercase;
}

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

h1 {
  font-size: clamp(3rem, 8vw, 6.65rem);
  letter-spacing: 0;
  line-height: 0.9;
  margin-bottom: 22px;
  max-width: 850px;
  text-transform: uppercase;
}

.hero-lede {
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.28rem);
  margin-bottom: 30px;
  max-width: 690px;
}

.video-shell {
  position: relative;
  overflow: hidden;
  align-self: stretch;
  display: flex;
  min-width: 0;
  background:
    linear-gradient(135deg, var(--ink), var(--brown));
  border-radius: 8px;
  box-shadow: var(--shadow);
  padding: clamp(10px, 1.8vw, 16px);
}

.warrior-video {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #13110f;
}

.video-frame {
  flex: 1;
  min-width: 0;
  align-items: center;
  aspect-ratio: 16 / 9;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    radial-gradient(circle at 72% 18%, rgba(243, 177, 61, 0.28), transparent 26%),
    linear-gradient(145deg, rgba(19, 17, 15, 0.94), rgba(74, 46, 37, 0.98));
  background-size: 42px 42px, auto, auto;
  border-radius: 6px;
  color: var(--white);
  display: grid;
  justify-items: center;
  overflow: hidden;
  padding: 24px;
  position: relative;
}

.video-frame::before {
  background: url("./assets/warrior-codes-cover.jpg") center / cover;
  content: "";
  inset: 6%;
  opacity: 0.14;
  position: absolute;
}

.play-button {
  align-items: center;
  background: var(--ember);
  border: 0;
  border-radius: 999px;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.3);
  display: grid;
  height: 78px;
  justify-items: center;
  position: relative;
  width: 78px;
  z-index: 1;
}

.play-button span {
  border-bottom: 14px solid transparent;
  border-left: 20px solid var(--white);
  border-top: 14px solid transparent;
  margin-left: 5px;
}

.video-caption {
  align-self: end;
  display: grid;
  gap: 4px;
  justify-self: start;
  max-width: 480px;
  position: relative;
  z-index: 1;
}

.video-caption strong {
  font-size: clamp(1.2rem, 3vw, 2rem);
  line-height: 1;
  text-transform: uppercase;
}

.video-caption span {
  color: rgba(255, 255, 255, 0.74);
}

.purchase-card {
  align-self: start;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  overflow: hidden;
  position: relative;
  scroll-margin-top: 180px;
}

.book-cover {
  background: var(--coal);
  display: block;
  max-height: 430px;
  object-fit: contain;
  padding: 16px;
  width: 100%;
}

.purchase-content {
  padding: 26px;
}

.purchase-content h1 {
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  line-height: 1;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.purchase-content p {
  color: var(--muted);
}

.price {
  color: var(--ink) !important;
  font-size: 2.25rem;
  font-weight: 950;
  line-height: 1;
  margin-bottom: 14px;
}

.button {
  align-items: center;
  border-radius: 6px;
  display: flex;
  font-weight: 950;
  justify-content: center;
  min-height: 48px;
  padding: 12px 16px;
  text-align: center;
  width: 100%;
}

.button + .button {
  margin-top: 10px;
}

.primary {
  background: var(--ember);
  color: var(--white);
}

.secondary {
  border: 1px solid var(--line);
  color: var(--ink);
  white-space: nowrap;
}

.free-codes,
.problem-section,
.path-section,
.final-cta {
  margin: 0 auto;
  max-width: 1160px;
  padding: clamp(58px, 8vw, 94px) clamp(18px, 4vw, 44px);
}

.free-codes {
  align-items: center;
  background:
    linear-gradient(135deg, rgba(19, 17, 15, 0.94), rgba(74, 46, 37, 0.96));
  border-radius: 8px;
  color: var(--white);
  display: grid;
  gap: clamp(24px, 5vw, 70px);
  grid-template-columns: 1fr minmax(280px, 0.72fr);
  margin-top: 16px;
}

.free-codes .eyebrow {
  color: var(--gold);
}

.free-codes h2 {
  font-size: clamp(2rem, 5vw, 4.15rem);
  line-height: 0.98;
  margin-bottom: 14px;
  text-transform: uppercase;
}

.free-codes h2 span {
  color: var(--ember);
}

.free-codes p {
  color: rgba(255, 255, 255, 0.76);
  font-size: clamp(1.05rem, 2vw, 1.24rem);
  max-width: 640px;
}

.signup-form {
  background: var(--white);
  border: 1px solid rgba(243, 177, 61, 0.34);
  border-radius: 8px;
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.18);
  color: var(--ink);
  display: grid;
  gap: 14px;
  padding: 22px;
}

.signup-form label {
  display: grid;
  gap: 6px;
}

.signup-form label span {
  color: var(--ember-dark);
  font-size: 0.82rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.signup-form input {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--ink);
  font: inherit;
  min-height: 48px;
  padding: 12px 14px;
  width: 100%;
}

.signup-form button {
  background: var(--gold);
  border: 0;
  border-radius: 6px;
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  font-weight: 950;
  min-height: 48px;
  padding: 12px 16px;
}

.quote-band {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  border-top: 1px solid var(--line);
  color: var(--ink);
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 28px;
}

.quote-band figure {
  background: linear-gradient(145deg, rgba(243, 177, 61, 0.16), rgba(255, 255, 255, 0.95));
  margin: 0;
  min-height: 160px;
  padding: clamp(24px, 4vw, 42px);
}

blockquote {
  color: var(--ink);
  font-size: clamp(1.35rem, 2.4vw, 2rem);
  font-weight: 950;
  letter-spacing: 0;
  line-height: 1.08;
  margin: 0;
  text-transform: uppercase;
}

.problem-section {
  align-items: start;
  display: grid;
  gap: clamp(24px, 5vw, 76px);
  grid-template-columns: 0.85fr 1.15fr;
}

.problem-section h2,
.section-heading h2,
.final-cta h2 {
  font-size: clamp(2rem, 5vw, 4.1rem);
  letter-spacing: 0;
  line-height: 0.98;
  margin-bottom: 0;
  text-transform: uppercase;
}

.problem-section > p,
.final-cta p {
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
}

.section-heading {
  margin-bottom: 30px;
  max-width: 760px;
}

.path-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(3, 1fr);
}

.path-grid article {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  min-height: 230px;
  padding: 24px;
}

.stage-number {
  color: var(--gold);
  font-weight: 950;
}

.path-grid h3 {
  font-size: 2rem;
  margin: 18px 0 10px;
  text-transform: uppercase;
}

.path-grid p {
  color: var(--muted);
}

.warrior-card {
  background: linear-gradient(150deg, #fff7ea, #ffffff) !important;
  border-color: rgba(239, 90, 34, 0.42) !important;
  color: var(--ink);
}

.final-cta {
  max-width: 860px;
  text-align: center;
}

.final-cta .button {
  margin: 26px auto 0;
  max-width: 320px;
}

.site-footer {
  background: #f3f4f6;
  color: #1f2937;
  padding: 64px clamp(18px, 4vw, 44px);
}

.footer-inner {
  margin: 0 auto;
  max-width: 1220px;
}

.footer-grid {
  display: grid;
  gap: 32px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: 32px;
}

.site-footer h4 {
  color: #f05a1a;
  font-size: 1rem;
  font-weight: 900;
  margin: 0 0 16px;
}

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

.site-footer li + li {
  margin-top: 8px;
}

.site-footer a {
  color: #4b5563;
  font-size: .9rem;
}

.site-footer a:hover {
  color: #f05a1a;
}

.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.footer-social-item {
  align-items: center;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
}

.footer-social svg {
  background: #171717;
  border-radius: 10px;
  display: block;
  height: 48px;
  padding: 4px;
  width: 48px;
}

.footer-bottom {
  border-top: 1px solid #e5e7eb;
  padding-top: 32px;
  text-align: center;
}

.footer-bottom p {
  color: #6b7280;
  font-size: .9rem;
  margin: 0;
}

.footer-bottom p + p {
  color: #f05a1a;
  font-weight: 700;
  margin-top: 8px;
}


@media (max-width: 920px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .footer-grid { grid-template-columns: 1fr; } }

@media (max-width: 920px) {
  .video-shell {
    display: block;
    aspect-ratio: 16 / 9;
    width: 100%;
  }

  .hero,
  .free-codes,
  .problem-section {
    grid-template-columns: 1fr;
  }

  .purchase-card {
    position: static;
  }

  .quote-band,
  .path-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .topbar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 14px;
  }

  .brand-logo img {
    max-width: 42vw;
    height: auto;
    max-height: 40px;
  }

  .header-actions {
    gap: 8px;
  }

  .header-cta {
    font-size: 0.78rem;
    padding: 10px 11px;
  }

  h1 {
    font-size: clamp(2.65rem, 16vw, 4.2rem);
  }

  .video-frame {
    padding: 18px;
  }
}
