:root {
  --navy: #0C1E30;
  --off-white: #FAFAF8;
  --border: #E5E5E5;
  --text: #1C1917;
  --text-mid: #44403C;
  --text-light: #78716C;
  --green: #1B873D;
  --green-soft: #E6F4EA;
  --orange: #f97316;
  --orange-dark: #ea580c;
  --orange-shadow: #c2410c;
  --blue: #2563EB;
  --blue-dark: #1D4ED8;
  --blue-shadow: #1E40AF;
  --blue-soft: #F1F6FF;
  --red: #C0392B;
}

* { box-sizing: border-box; margin: 0; }

html { -webkit-text-size-adjust: 100%; }

body {
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  background: #fff;
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main { flex: 1; }

.wrap { max-width: 1040px; margin: 0 auto; padding: 0 20px; }

/* ---------- top nav (matches the main site's header) ---------- */
.topbar { background: var(--navy); color: #fff; text-align: center; padding: 10px 16px; font-size: 12px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; }
.site-nav { border-bottom: 1px solid var(--border); background: #fff; }
.site-nav-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 16px; padding-bottom: 16px; }
.site-logo { font-size: 18px; font-weight: 800; letter-spacing: -0.02em; color: var(--text); text-decoration: none; }
.site-nav nav { display: flex; align-items: center; gap: 24px; font-size: 14px; font-weight: 700; }
.site-nav nav a { color: var(--text-mid); text-decoration: none; }
.site-nav nav a:hover { color: var(--text); }
.site-nav nav a.site-nav-cta { background: #EA6A2A; color: #fff; padding: 8px 16px; border-radius: 8px; }
.site-nav nav a.site-nav-cta:hover { filter: brightness(1.05); }
.site-logo, .site-nav nav { white-space: nowrap; }
@media (max-width: 639px) {
  .site-logo { font-size: 16px; }
  .site-nav-in { gap: 10px; }
  .site-nav nav { gap: 12px; font-size: 13px; }
  .site-nav nav a.site-nav-programs { display: none; }
  .site-nav nav a.site-nav-cta { padding: 6px 11px; }
}

.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.hp { position: absolute; left: -9999px; }

/* ---------- opt-in ---------- */

.hero {
  display: grid;
  grid-template-areas: "copy" "visual" "capture";
  gap: 18px;
  padding-top: 22px;
  padding-bottom: 32px;
}
.copy { grid-area: copy; }
.visual { grid-area: visual; }
.capture { grid-area: capture; }

.label {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  color: var(--orange-dark);
  background: #FFF1E6;
  padding: 6px 11px;
  border-radius: 999px;
}

h1 {
  margin-top: 12px;
  font-size: clamp(27px, 7.4vw, 50px);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.sub {
  margin-top: 10px;
  font-size: clamp(15.5px, 4.2vw, 19px);
  line-height: 1.55;
  color: var(--text-mid);
  max-width: 34em;
}

/* guide mockup */
.visual img {
  display: block;
  mix-blend-mode: multiply;
  /* The render's backdrop is off-white; push it to pure white so no box shows. */
  filter: brightness(1.06) contrast(1.04);
  width: 100%;
  height: 196px;
  object-fit: contain;
}

/* bullets */
.bullets { list-style: none; padding: 0; display: grid; gap: 9px; }

.bullets li {
  position: relative;
  padding-left: 30px;
  font-size: 15.5px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--text);
}

.bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--green-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%231B873D' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 20px no-repeat;
}

/* form */
form { margin-top: 18px; display: grid; gap: 10px; max-width: 480px; }

input {
  width: 100%;
  font: inherit;
  font-size: 16px;
  font-weight: 500;
  color: var(--text);
  padding: 15px 16px;
  border: 2px solid var(--border);
  border-radius: 12px;
  background: #fff;
  transition: border-color .15s;
}
input::placeholder { color: #A8A29E; }
input:focus { outline: none; border-color: var(--navy); }

.cta {
  margin-top: 2px;
  width: 100%;
  font: inherit;
  font-size: 17px;
  font-weight: 900;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #fff;
  padding: 19px 24px;
  border: 0;
  border-radius: 12px;
  background: linear-gradient(180deg, var(--orange), var(--orange-dark));
  box-shadow: 0 4px 0 var(--orange-shadow);
  cursor: pointer;
  transition: transform .08s, box-shadow .08s, filter .15s;
}
.cta:hover { filter: brightness(1.05); }
.cta:active { transform: translateY(2px); box-shadow: 0 2px 0 var(--orange-shadow); }
.cta:focus-visible { outline: 3px solid var(--navy); outline-offset: 3px; }
.cta:disabled { opacity: .7; cursor: default; }
a.cta { display: block; text-align: center; text-decoration: none; }

.trust {
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-light);
}

.proof {
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-mid);
}
.stars { color: #D4A017; letter-spacing: 1.5px; margin-right: 4px; }

.hint {
  margin-top: -4px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-mid);
}
.hint button {
  font: inherit;
  font-weight: 800;
  color: var(--orange-dark);
  background: none;
  border: 0;
  padding: 0;
  text-decoration: underline;
  cursor: pointer;
}

.err {
  text-align: center;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--red);
}

/* footer */
.foot {
  display: flex;
  justify-content: center;
  gap: 18px;
  padding: 18px 20px 26px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-light);
  border-top: 1px solid var(--border);
}
.foot a { color: inherit; }

/* Short phone screens (small iPhones inside Instagram's browser): the photo
   and bullets carry the message, so drop the subhead to keep the button up. */
@media (max-width: 859px) and (max-height: 720px) {
  .sub { display: none; }
  .visual img { height: 150px; }
}

/* ---------- below the fold ---------- */
.reviews { padding: 48px 0 44px; }
.reviews h2 { margin-top: 10px; font-size: clamp(24px, 6vw, 36px); font-weight: 900; line-height: 1.12; letter-spacing: -0.03em; }
.rating { margin-top: 8px; font-size: 14.5px; font-weight: 700; color: var(--text-mid); }
.review-list { margin-top: 20px; display: grid; gap: 12px; }
.review {
  margin: 0;
  padding: 18px 18px 16px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 4px 16px rgba(0,0,0,.04);
}
.review blockquote { margin: 0; font-size: 15.5px; line-height: 1.6; color: var(--text); }
.review figcaption { margin-top: 12px; display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--text-light); }
.review figcaption img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.review figcaption strong { display: block; font-size: 14px; color: var(--text); }
@media (min-width: 860px) { .review-list { grid-template-columns: repeat(3, 1fr); gap: 18px; } .reviews { padding: 72px 0 64px; } }

.inside { background: var(--off-white); padding: 48px 0 52px; }
.inside h2, .final h2 {
  margin-top: 10px;
  font-size: clamp(24px, 6vw, 36px);
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: -0.03em;
}
.cards { margin-top: 24px; display: grid; gap: 14px; }
.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px 20px 22px;
  box-shadow: 0 4px 16px rgba(0,0,0,.04);
}
.card h3 { margin-top: 10px; font-size: 18px; font-weight: 800; line-height: 1.3; letter-spacing: -0.01em; }
.card p { margin-top: 6px; font-size: 15px; line-height: 1.6; color: var(--text-mid); }
.card-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 999px;
}
.card-tag.skip { background: #FDECEA; color: var(--red); }
.card-tag.buy { background: var(--green-soft); color: var(--green); }
.card-tag.rules { background: #FFF1E6; color: var(--orange-dark); }

.peek {
  margin-top: 24px;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 62%;
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 8px;
}
.peek img {
  width: 100%;
  height: auto;
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(0,0,0,.08);
  scroll-snap-align: start;
  background: #fff;
}
.skills { padding-top: 0; }
.skills .card {
  transition: transform .5s cubic-bezier(.2,.7,.2,1), opacity .5s ease, box-shadow .2s ease;
}
.skills .card.pre { opacity: 0; transform: translateY(18px); }
.skills .card:hover { transform: translateY(-3px); box-shadow: 0 10px 26px rgba(0,0,0,.08); }
.skill-icon {
  display: grid;
  place-items: center;
  width: 56px; height: 56px;
  border-radius: 16px;
  margin-bottom: 4px;
}
.skill-icon.skip { background: #FDECEA; color: var(--red); }
.skill-icon.buy { background: var(--green-soft); color: var(--green); }
.skill-icon.rules { background: #FFF1E6; color: var(--orange-dark); }
.skills .card:hover .skill-icon svg { animation: nudge .5s ease; }
@keyframes nudge { 40% { transform: scale(1.15) rotate(-6deg); } }

.more-courses { padding: 36px 0 120px; text-align: center; border-top: 1px solid var(--border); }
.more-courses-inner { max-width: 560px; }
.more-courses h2 { font-size: 22px; font-weight: 800; letter-spacing: -0.01em; }
.more-courses p { margin-top: 8px; font-size: 15px; color: var(--text-mid); }
.more-link {
  display: inline-block;
  margin-top: 18px;
  padding: 14px 22px;
  border: 2px solid var(--text, #111);
  border-radius: 10px;
  font-weight: 800;
  color: inherit;
  text-decoration: none;
}

.final { padding: 52px 0 60px; text-align: center; }
.final-inner { max-width: 560px; }
.final p { margin-top: 10px; font-size: 16px; color: var(--text-mid); }
.final .cta { display: block; margin: 22px auto 0; max-width: 480px; }
.final .trust { margin-top: 10px; }

.sticky {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255,255,255,.96);
  border-top: 1px solid var(--border);
  box-shadow: 0 -6px 20px rgba(0,0,0,.06);
  z-index: 10;
}
.sticky .cta { padding: 15px 20px; font-size: 15.5px; }
@media (min-width: 860px) {
  .sticky { display: none !important; }
  .cards { grid-template-columns: repeat(3, 1fr); gap: 18px; }
  .peek { grid-auto-flow: row; grid-template-columns: repeat(4, 1fr); overflow: visible; }
  .inside { padding: 72px 0 76px; }
  .skills { padding-top: 0; }
  .more-courses { padding-bottom: 72px; }
  .final { padding: 76px 0 84px; }
}

/* ---------- phones: keep the form on the first screen ---------- */
/* Instagram's in-app browser eats ~100px of toolbar, so budget tight. */
@media (max-width: 859px) {
  .hero { gap: 10px; padding-top: 12px; padding-bottom: 24px; }
  .label { font-size: 10.5px; padding: 5px 10px; }
  h1 { margin-top: 8px; font-size: clamp(23px, 6.4vw, 30px); }
  .sub { margin-top: 6px; font-size: 14.5px; line-height: 1.45; }
  .visual img { height: 190px; }
  .bullets { gap: 6px; }
  .bullets li { font-size: 14px; padding-left: 27px; }
  .bullets li::before { width: 18px; height: 18px; background-size: 18px; }
  form { margin-top: 12px; gap: 8px; }
  input { padding: 13px 15px; }
  .cta { padding: 16px 20px; font-size: 16px; }
}

/* ---------- desktop ---------- */
@media (min-width: 860px) {
  .hero {
    grid-template-columns: 1.05fr 0.95fr;
    grid-template-areas: "copy visual" "capture visual";
    column-gap: 56px;
    row-gap: 26px;
    padding-top: 64px;
    padding-bottom: 72px;
    align-items: start;
  }
  .visual { align-self: center; }
  .visual img { height: auto; }
  .bullets li { font-size: 16.5px; }
  .sub { margin-top: 16px; }
}

/* ---------- thank-you ---------- */
.ty { max-width: 620px; padding-top: 36px; padding-bottom: 48px; }

.confirm {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--green);
}
.confirm::before {
  content: "";
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='white' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 22px no-repeat;
}

.ty h1 { margin-top: 14px; }
.ty .sub { margin-top: 12px; }
.ty .download { margin-top: 24px; max-width: 480px; }
.ty .download .trust { margin-top: 10px; }

.next {
  margin-top: 40px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--off-white);
  box-shadow: 0 4px 16px rgba(0,0,0,.04);
  overflow: hidden;
}
.next-img {
  display: block;
  mix-blend-mode: multiply;
  filter: brightness(1.06) contrast(1.04);
  width: 100%;
  height: 170px;
  object-fit: contain;
  background: #fff;
  padding: 14px;
  border-bottom: 1px solid var(--border);
}
.next-body { padding: 22px 22px 24px; }
.next .label { background: #fff; border: 1px solid var(--border); color: var(--text-light); }
.next h2 {
  margin-top: 12px;
  font-size: 23px;
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.02em;
}
.next p { margin-top: 8px; font-size: 15.5px; color: var(--text-mid); }
.next .cta { margin-top: 18px; font-size: 15px; padding: 16px 20px; }

/* ---------- thank-you: shop the guide ---------- */
.shop { margin-top: 40px; }
.shop h2 { margin-top: 10px; font-size: 23px; font-weight: 900; line-height: 1.15; letter-spacing: -0.02em; }
.shop > p { margin-top: 6px; font-size: 15.5px; color: var(--text-mid); }
.products { margin-top: 18px; display: grid; gap: 12px; }
.product {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 14px;
  align-items: center;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #fff;
  color: inherit;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(0,0,0,.04);
  transition: box-shadow .15s, transform .15s;
}
.product:hover { box-shadow: 0 8px 32px rgba(0,0,0,.08); transform: translateY(-2px); }
.product img { width: 96px; height: 96px; object-fit: contain; border-radius: 10px; background: var(--off-white); }
.product .stage { font-size: 11px; font-weight: 800; letter-spacing: 1.4px; text-transform: uppercase; color: var(--orange-dark); }
.product h3 { margin-top: 2px; font-size: 16px; font-weight: 800; line-height: 1.3; }
.product .desc { margin-top: 2px; font-size: 13.5px; line-height: 1.45; color: var(--text-mid); }
.product .price { margin-top: 4px; font-size: 15px; font-weight: 800; }
.shop .cta { margin-top: 16px; font-size: 15px; padding: 16px 20px; }

/* ---------- thank-you: programs ---------- */
.programs { margin-top: 40px; }
.programs h2 { margin-top: 10px; font-size: clamp(23px, 5.6vw, 30px); font-weight: 900; line-height: 1.15; letter-spacing: -0.02em; }
.programs > p { margin-top: 6px; font-size: 15.5px; color: var(--text-mid); }
.program-list { margin-top: 18px; display: grid; gap: 12px; }
.program {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 14px;
  align-items: center;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #fff;
  color: inherit;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(0,0,0,.04);
  transition: box-shadow .15s, transform .15s;
}
.program:hover { box-shadow: 0 8px 32px rgba(0,0,0,.08); transform: translateY(-2px); }
.program img { width: 110px; height: 110px; object-fit: contain; }
.program h3 { font-size: 17px; font-weight: 800; line-height: 1.25; }
.program p { margin-top: 4px; font-size: 14px; line-height: 1.5; color: var(--text-mid); }
.program .more { display: inline-block; margin-top: 6px; font-size: 13.5px; font-weight: 800; color: var(--orange-dark); }
.programs .cta { margin-top: 16px; font-size: 15.5px; padding: 17px 20px; }
.shop { margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--border); }

/* ---------- thank-you: $9 add-on ---------- */
.addon { margin-top: 32px; padding: 22px 20px 20px; border: 2px solid var(--blue); border-radius: 16px; background: var(--blue-soft); }
.addon .addon-flag { display: inline-block; margin: 0; font-size: 11px; font-weight: 800; letter-spacing: 1.4px; text-transform: uppercase; color: #fff; background: var(--blue-dark); padding: 5px 10px; border-radius: 999px; }
.addon-body { margin-top: 14px; display: grid; grid-template-columns: 96px 1fr; gap: 16px; align-items: start; }
.addon-body img { width: 96px; height: auto; border-radius: 6px; box-shadow: 0 6px 16px rgba(0,0,0,.15); }
.addon h2 { font-size: 20px; font-weight: 900; line-height: 1.2; letter-spacing: -0.01em; }
.addon p { margin-top: 6px; font-size: 14.5px; line-height: 1.5; color: var(--text-mid); }
.addon ul { margin-top: 8px; padding-left: 18px; font-size: 14px; line-height: 1.6; color: var(--text); }
.addon-cta { display: block; margin-top: 16px; text-align: center; background: linear-gradient(180deg, var(--blue), var(--blue-dark)); box-shadow: 0 4px 0 var(--blue-shadow); }
.addon-cta:active { box-shadow: 0 2px 0 var(--blue-shadow); }
.addon .trust { margin-top: 8px; text-align: center; }
@media (min-width: 860px) { .addon-body { grid-template-columns: 130px 1fr; } .addon-body img { width: 130px; } }
