:root {
  --bg: #1a1612;
  --deep: #0b0a08;
  --ink: #e8501f;
  --white: #ffffff;
  --muted: #8a7a60;
  --card: #1e1a15;
  --warm: #2a1f0e;
  --calc: #1e1005;
  --border: #4a4030;
  --border-warm: #4a3820;
  --font: "Rubik", system-ui, sans-serif;
  --pad: clamp(20px, 5vw, 72px);
  --pad-wide: clamp(20px, 8vw, 120px);
}

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

html,
body {
  margin: 0;
  height: 100%;
  background: var(--bg);
  color: var(--white);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
}

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

button,
input {
  font: inherit;
  color: inherit;
}

.deck {
  height: 100dvh;
  overflow-y: auto;
  scroll-snap-type: y mandatory;
  scroll-behavior: smooth;
}

.frame {
  position: relative;
  min-height: 100dvh;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  overflow: hidden;
  background: var(--bg);
}

.frame__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.frame__media img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
}

.veil {
  position: absolute;
  inset: 0;
}

.veil--hero {
  background: linear-gradient(90deg, rgba(11, 10, 8, 0.96) 0%, rgba(11, 10, 8, 0.5) 45%, rgba(11, 10, 8, 0) 75%);
}

.veil--problem {
  background: linear-gradient(90deg, rgba(11, 10, 8, 0.91), rgba(11, 10, 8, 0.63) 50%, rgba(11, 10, 8, 0.31));
}

.veil--packs {
  background: linear-gradient(90deg, rgba(11, 10, 8, 0.94), rgba(11, 10, 8, 0.82) 60%, rgba(11, 10, 8, 0.91));
}

.veil--calc {
  background: linear-gradient(90deg, rgba(11, 10, 8, 0.96), rgba(11, 10, 8, 0.88) 70%, rgba(11, 10, 8, 0.94));
}

.veil--process {
  background: linear-gradient(90deg, rgba(11, 10, 8, 0.95), rgba(11, 10, 8, 0.75) 50%, rgba(11, 10, 8, 0.9));
}

.veil--lead {
  background: linear-gradient(90deg, rgba(11, 10, 8, 0.97), rgba(11, 10, 8, 0.88) 60%, rgba(11, 10, 8, 0.96));
}

.grunge {
  position: absolute;
  left: -4%;
  right: -4%;
  height: 72px;
  z-index: 2;
  pointer-events: none;
  background: var(--bg);
}

.grunge--top {
  top: -36px;
  transform: rotate(-1.2deg);
}

.grunge--bottom {
  height: 110px;
  left: 0;
  right: -12%;
  bottom: 0;
  transform-origin: 0 100%;
  transform: rotate(2.8deg);
}

.topbar,
.hero-copy,
.problem-copy,
.proof-head,
.cases,
.section-pad,
.calc,
.lead-grid {
  position: relative;
  z-index: 3;
}

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 44px var(--pad) 0;
}

.brand {
  margin: 0;
  font-weight: 700;
  font-size: 22px;
}

.frame-index {
  margin: 0;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
}

.hero-copy {
  max-width: 820px;
  padding: 100px var(--pad) 80px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}

h1,
h2,
h3 {
  margin: 0;
  font-weight: 900;
  text-transform: uppercase;
}

h1 {
  font-size: clamp(36px, 6vw, 84px);
  line-height: 0.93;
}

h2 {
  font-size: clamp(28px, 4.2vw, 56px);
  line-height: 0.97;
}

.lead {
  margin: 0;
  max-width: 600px;
  font-size: 19px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.8);
}

.pill,
.badge {
  display: inline-flex;
  background: var(--ink);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 2px;
}

.badge {
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 12px;
  white-space: nowrap;
  align-self: flex-start;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0 32px;
  border: 0;
  border-radius: 3px;
  background: var(--ink);
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  cursor: pointer;
}

.btn:hover {
  filter: brightness(1.05);
}

.btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  filter: none;
}

.btn--compact {
  min-height: 36px;
  width: 100%;
  max-width: 260px;
  padding: 0 16px;
  border-radius: 4px;
  font-size: 12px;
}

.problem-copy {
  position: absolute;
  right: var(--pad);
  bottom: 80px;
  width: min(680px, calc(100% - 48px));
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 36px;
}

.problem-copy p {
  margin: 0;
  font-size: 22px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.8);
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--ink);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.eyebrow--tight {
  margin: 12px 0 8px;
}

.proof-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  padding: 80px var(--pad) 32px;
}

.proof-head h2 {
  max-width: 727px;
}

.cases {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(200px, 280px) minmax(200px, 280px);
  gap: 16px;
  padding: 0 88px 72px var(--pad);
  align-items: stretch;
}

.cases[data-open="2"] {
  grid-template-columns: minmax(200px, 280px) minmax(0, 1fr) minmax(200px, 280px);
}

.cases[data-open="3"] {
  grid-template-columns: minmax(200px, 280px) minmax(200px, 280px) minmax(0, 1fr);
}

.case {
  display: flex;
  flex-direction: column;
  background: var(--bg);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  overflow: hidden;
  min-height: 0;
  min-width: 0;
  cursor: pointer;
}

.case:not(.is-open):hover,
.case:not(.is-open):focus-visible {
  border-color: rgba(232, 80, 31, 0.55);
  outline: none;
}

.case.is-open {
  cursor: default;
}

.case__photo {
  position: relative;
  flex: 1;
  min-height: 180px;
  overflow: hidden;
}

.case.is-open .case__photo {
  flex: 0 0 240px;
  height: 240px;
}

.case__photo img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
}

.case__photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(26, 22, 18, 0) 55%, rgba(26, 22, 18, 0.94));
}

.case__caption {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 1;
}

.case__label {
  margin: 0 0 4px;
  font-size: 18px;
  font-weight: 700;
}

.case.is-open .case__label {
  font-size: 26px;
}

.case__meta {
  margin: 0;
  font-size: 11px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.44);
}

.case__body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  padding: 16px;
}

.case:not(.is-open) .case__body {
  padding: 0 0 8px;
}

.case:not(.is-open) .case__details {
  display: none;
}

.case:not(.is-open) .ghost-btn {
  width: calc(100% - 16px);
  margin: 0 8px 8px;
}

.case__body h3 {
  font-size: 32px;
  line-height: 38px;
  text-transform: none;
}

.case__body p {
  margin: 0;
  font-size: 16px;
  line-height: 24px;
  color: rgba(255, 255, 255, 0.7);
}

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

.ticks li {
  position: relative;
  padding-left: 16px;
  margin: 0 0 10px;
  font-size: 14px;
  line-height: 20px;
  color: rgba(255, 255, 255, 0.8);
}

.ticks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 4px;
  height: 4px;
  border-radius: 2px;
  background: var(--ink);
}

.ghost-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--white);
  text-decoration: none;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.ghost-btn--full {
  width: 100%;
}

.icon-16 {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
}

.section-pad {
  padding: 82px var(--pad-wide) 72px;
}

.frame--packs .section-pad {
  display: flex;
  flex-direction: column;
  height: 100dvh;
  padding-top: 90px;
  padding-bottom: 72px;
}

.pack-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 36px;
  flex: 1;
  min-height: 0;
  align-items: stretch;
}

.pack {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 40px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  min-height: 0;
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.19);
}

.pack--hot {
  background: var(--warm);
  border: 2px solid var(--ink);
  box-shadow: 0 16px 40px rgba(232, 80, 31, 0.19);
}

.pack__art {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: contain;
  object-position: center 42%;
  pointer-events: none;
}

.pack__veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(30, 26, 21, 0.91) 0%,
    rgba(30, 26, 21, 0.63) 40%,
    rgba(30, 26, 21, 0.8) 100%
  );
}

.pack--hot .pack__veil {
  background: linear-gradient(
    180deg,
    rgba(42, 31, 14, 0.91) 0%,
    rgba(42, 31, 14, 0.63) 40%,
    rgba(42, 31, 14, 0.8) 100%
  );
}

.pack__head,
.pack__lead,
.pack__spacer,
.pack__box {
  position: relative;
  z-index: 2;
}

.pack__head {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.pack__kicker {
  margin: 0;
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

.pack__kicker--mute {
  color: var(--muted);
}

.pack h3 {
  font-size: clamp(28px, 3vw, 42px);
}

.pack__lead {
  margin: 0;
  font-size: 17px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.8);
}

.pack__spacer {
  flex: 1 1 auto;
  min-height: 24px;
}

.pack__box {
  width: 100%;
  min-height: 168px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: rgba(30, 26, 21, 0.9);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 20px;
}

.pack__box--accent {
  background: rgba(42, 31, 14, 0.9);
  border-color: var(--ink);
}

.pack__box-title {
  margin: 0;
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

.pack__box ul {
  margin: 0;
  padding-left: 18px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 15px;
  line-height: 1.5;
}

.hint {
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.5;
}

.frame--packs .hint {
  margin-top: 24px;
  flex-shrink: 0;
}

.calc {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 72px 88px 60px var(--pad);
}

.calc__main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 400px);
  gap: 24px;
  align-items: end;
}

.calc__left,
.calc__right {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.calc h2 {
  font-size: clamp(32px, 4vw, 52px);
}

.choice-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 32px;
}

.choice,
.pkg,
.upsell {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  text-align: left;
  background: transparent;
  border: 0;
  cursor: pointer;
  padding: 0;
}

.choice > span:not(.radio),
.pkg__text,
.upsell > span:nth-of-type(2) {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
  flex: 1;
}

.choice strong,
.pkg strong,
.upsell strong {
  font-size: 16px;
  font-weight: 700;
}

.pkg strong {
  font-size: 24px;
  font-weight: 800;
}

.choice small,
.pkg small,
.upsell small,
.pkg__price small {
  color: var(--muted);
  font-size: 13px;
}

.radio {
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  border-radius: 12px;
  border: 1.5px solid var(--border-warm);
  background: var(--card);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.radio img {
  width: 24px;
  height: 24px;
  max-width: none;
  opacity: 0;
}

.is-on .radio {
  border: 0;
  background: transparent;
}

.is-on .radio img {
  opacity: 1;
}

.pkg {
  flex-wrap: wrap;
  background: var(--calc);
  border: 1px solid var(--border-warm);
  border-radius: 8px;
  padding: 16px;
  min-height: 96px;
}

.pkg.is-on {
  border-color: var(--ink);
}

.pkg__price {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  margin-left: auto;
}

.pkg__price b {
  font-size: 28px;
  font-weight: 900;
}

.pkg__price small {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.5);
}

.stepper {
  display: none;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding-left: 40px;
}

.pkg.is-on[data-package="line"] .stepper {
  display: flex;
}

.stepper__btn,
.stepper__n {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 32px;
  min-width: 32px;
  border: 1px solid var(--border-warm);
  border-radius: 4px;
  background: var(--warm);
  font-size: 22px;
}

.stepper__n {
  width: 44px;
  font-weight: 800;
}

.stepper__note {
  color: var(--muted);
  font-size: 15px;
}

.upsell {
  background: var(--calc);
  border: 1px solid var(--border-warm);
  border-radius: 8px;
  min-height: 54px;
  padding: 10px 12px;
}

.upsell.is-on {
  border-color: var(--ink);
}

.check {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  border: 1.5px solid var(--border-warm);
  background: var(--card);
}

.check img {
  width: 12px;
  height: 12px;
  opacity: 0;
}

.upsell.is-on .check {
  background: var(--ink);
  border-color: var(--ink);
}

.upsell.is-on .check img {
  opacity: 1;
}

.upsell b {
  font-size: 14px;
  white-space: nowrap;
}

.price-stack {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  font-size: 14px;
}

.price-stack i {
  font-style: normal;
  font-size: 13px;
  color: var(--muted);
}

.total {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  background: var(--calc);
  border: 1px solid rgba(232, 80, 31, 0.19);
  border-radius: 8px;
  padding: 16px;
}

.total__list {
  flex: 1;
  max-width: 500px;
}

.total__items {
  font-size: 14px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.8);
  white-space: pre-line;
}

.total hr,
.sidebar hr {
  border: 0;
  height: 1px;
  background: rgba(255, 255, 255, 0.13);
  margin: 8px 0;
}

.total__weeks,
.sidebar__weeks {
  margin: 0;
  color: rgba(255, 255, 255, 0.5);
  font-size: 16px;
}

.total__sum {
  width: min(300px, 100%);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
}

.total__n,
.sidebar__total {
  margin: 0;
  color: var(--ink);
  font-size: 40px;
  font-weight: 900;
}

.flag {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  margin-top: 4px;
  cursor: pointer;
  color: var(--muted);
  font-size: 13px;
}

.flag input {
  width: 20px;
  height: 20px;
  accent-color: var(--ink);
}

.flag b {
  margin-left: auto;
  color: var(--ink);
  font-size: 12px;
}

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

.step {
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-height: 520px;
  padding: 28px;
  background: rgba(30, 26, 20, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 6px;
}

.step--hot {
  background: var(--ink);
  border-color: var(--ink);
}

.step__n {
  margin: 0;
  font-size: 18px;
  font-weight: 900;
  color: var(--ink);
}

.step--hot .step__n {
  color: var(--white);
}

.step__photo {
  flex: 1;
  min-height: 140px;
  overflow: hidden;
  border-radius: 4px;
}

.step__photo img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
}

.step h3 {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.25;
  text-transform: uppercase;
}

.step p:last-child {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  color: var(--muted);
}

.step--hot p:last-child {
  color: rgba(255, 255, 255, 0.8);
}

.lead-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 440px;
  gap: 64px;
  padding: 76px var(--pad-wide);
  min-height: 100dvh;
}

.lead-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
}

.lead-form h2 {
  font-size: clamp(32px, 4vw, 52px);
  line-height: 0.96;
}

.lead-form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 100%;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.19);
}

.lead-form label span {
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  color: var(--muted);
}

.lead-form input {
  background: transparent;
  border: 0;
  outline: none;
  font-size: 18px;
  padding: 0;
}

.form-status {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.sidebar {
  display: flex;
  flex-direction: column;
  background: var(--calc);
  border: 1px solid rgba(232, 80, 31, 0.19);
  border-radius: 8px;
  padding: 40px;
}

.sidebar h3 {
  font-size: 28px;
}

.sidebar__list {
  font-size: 15px;
  line-height: 2;
  color: rgba(255, 255, 255, 0.8);
  white-space: pre-line;
}

.sidebar__spacer {
  flex: 1;
  min-height: 24px;
}

.frames-nav {
  position: fixed;
  right: 28px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 20;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.frames-nav__arrow {
  width: 20px;
  height: 20px;
  padding: 0;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.55);
  cursor: pointer;
  font-size: 12px;
}

.frames-nav__dots {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.frames-nav__dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.28);
  cursor: pointer;
}

.frames-nav__dot.is-active {
  background: var(--ink);
}

@media (max-width: 1100px) {
  .frame {
    height: auto;
    overflow: visible;
  }

  .frame--packs .section-pad {
    height: auto;
    min-height: 0;
  }

  .pack {
    min-height: 560px;
    padding: 28px;
  }

  .cases,
  .pack-grid,
  .calc__main,
  .choice-row,
  .steps,
  .lead-grid,
  .total {
    grid-template-columns: 1fr;
    display: grid;
  }

  .total,
  .calc__main {
    display: flex;
    flex-direction: column;
  }

  .cases,
  .cases[data-open="2"],
  .cases[data-open="3"] {
    display: grid;
    grid-template-columns: 1fr;
  }

  .case:not(.is-open) .case__photo {
    flex: 0 0 220px;
    min-height: 220px;
  }

  .problem-copy {
    position: relative;
    right: auto;
    bottom: auto;
    padding: 120px var(--pad) 80px;
  }

  .hero-copy {
    padding-top: 72px;
  }

  .total__sum {
    align-items: stretch;
  }

  .pkg__price {
    width: 100%;
    align-items: flex-start;
    padding-left: 40px;
  }

  .frames-nav {
    right: 12px;
  }
}

@media (max-width: 720px) {
  h1 {
    font-size: 36px;
  }

  .case__body h3 {
    font-size: 24px;
    line-height: 1.2;
  }

  .section-pad,
  .calc,
  .lead-grid,
  .proof-head {
    padding-left: 20px;
    padding-right: 20px;
  }

  .pack {
    padding: 24px;
    min-height: 480px;
  }

  .step {
    min-height: 0;
  }
}
