/* The course page, on top of version B of the ladder (site.css + b.css): the same gray page, navy ink and gold only
   where you press. Added here: the price, the trailer, the 10 rules, what you get, and the signup sheet. */

/* hero: the name on one line on a phone, and the price and the button above the fold (checked from an iPhone SE up) */
.b-hero h1 { font-size: min(18.5vw - 6px, 8.6rem); line-height: 0.82; }
.b-hero h1 span { display: block; font-size: 0.56em; color: var(--ink-2); margin-block-start: 0.12em; }
.offer-row { display: grid; justify-items: start; gap: 12px; margin-block-start: 18px; }
.price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; font-family: var(--display); font-weight: 700; line-height: 0.85; }
.price s { font-size: 2.5rem; color: var(--ink-3); text-decoration-thickness: 3px; }
.price b { font-size: 4.4rem; color: var(--ink); }
.price span {
  align-self: center; font: 800 0.88rem/1 var(--font); color: #FFFFFF; background: var(--navy-3);
  padding: 6px 12px; border-radius: 999px;
}
.price small, .deal small { font-size: 0.6em; }
.price--light s { color: #9AA4BA; }
.price--light b { color: #FFFFFF; }
.big-cta {
  cursor: pointer; border: 0; border-radius: 12px; background: var(--gold); color: var(--navy-3);
  font: 800 1.2rem/1 var(--font); padding: 1.1rem 1.6rem; inline-size: 100%; max-inline-size: 440px;
}
.big-cta:active { transform: scale(0.97); }
@media (hover: hover) { .big-cta:hover { transform: translateY(-2px); box-shadow: 0 12px 24px -12px rgba(0, 0, 0, 0.35); } }

/* trailer: the course intro (59 s), our own file, loaded only when someone presses play */
.c-trailer { background: #FFFFFF; padding-block: 52px 56px; }
.trailer { position: relative; aspect-ratio: 16 / 9; margin-block-start: 22px; border-radius: 14px; overflow: hidden; background: var(--navy-3); }
.trailer video { inline-size: 100%; block-size: 100%; object-fit: cover; background: var(--navy-3); }
.trailer__cover { position: absolute; inset: 0; display: grid; place-items: center; border: 0; cursor: pointer; background: rgba(20, 33, 61, 0.28); }
.trailer__cover .cover__play { box-shadow: none; }

/* the 10 rules, on black like the levels of version B */
.rules { list-style: none; padding: 0; margin-block-start: 22px; display: grid; gap: 8px; }
.rules li {
  display: grid; grid-template-columns: 58px minmax(0, 1fr); grid-template-rows: auto auto; column-gap: 14px; align-items: center;
  background: var(--navy-3); color: #C9CFDC; border-radius: 10px; padding: 12px 16px;
}
.rules b { grid-row: 1 / 3; text-align: center; font-family: var(--display); font-weight: 700; font-size: 3.6rem; line-height: 0.8; color: var(--gold); }
.rules__t { font-weight: 800; color: #FFFFFF; font-size: 1.1rem; }

/* what you get, and the deal */
.c-stack { padding-block: 52px 58px; }
.stack { list-style: none; padding: 0; margin-block-start: 22px; display: grid; gap: 12px; }
.stack li { position: relative; padding-inline-start: 36px; font-weight: 700; color: var(--ink); font-size: 1.08rem; }
.stack li::before {
  content: "✓"; position: absolute; inset-inline-start: 0; top: 2px; inline-size: 24px; block-size: 24px; border-radius: 50%;
  display: grid; place-items: center; background: var(--navy-3); color: #FFFFFF; font-size: 0.8rem; font-weight: 800;
}
.deal { display: grid; gap: 8px; margin-block-start: 26px; padding: 20px; border-radius: 14px; background: #FFFFFF; border: 2px solid var(--navy-3); max-inline-size: 520px; }
.deal__row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-weight: 800; color: var(--ink-2); }
.deal__row s { font-family: var(--display); font-size: 2.4rem; line-height: 0.9; color: var(--ink-3); text-decoration-thickness: 3px; }
.deal__row--now { color: var(--ink); }
.deal__row--now b { font-family: var(--display); font-size: 3.6rem; line-height: 0.9; }
.deal .big-cta { margin-block-start: 8px; max-inline-size: none; }

/* why free: Ofek's own two lines, on navy */
.c-free { background: var(--navy-3); }
.b main .c-free h2 { color: #FFFFFF; }
.c-free .say { color: #FFFFFF; }
.c-free .say--end { color: #C9CFDC; }

.b-final .price { margin-block-start: 22px; }
.b-final .big-cta { margin-block-start: 18px; }

/* the signup sheet: the quiz screen of version B with two steps */
.sheet .step { border: 0; padding: 0; margin: 0; min-inline-size: 0; }
.sheet__x { border: 0; background: transparent; cursor: pointer; color: var(--ink-2); font-size: 1.05rem; padding: 0 6px; }
.agree { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 10px; align-items: start; font-size: 0.9rem; color: var(--ink-2); cursor: pointer; }
.agree input { inline-size: 20px; block-size: 20px; margin: 2px 0 0; accent-color: var(--navy-3); }
.step--done { text-align: center; padding-block-start: 24px; }
.done__mark {
  inline-size: 72px; block-size: 72px; margin: 0 auto 14px; border-radius: 50%; display: grid; place-items: center;
  background: var(--ok); color: #FFFFFF; font-size: 2.2rem; font-weight: 800;
}

/* the narrowest phones (320 px): the bar button's longer text still fits beside the logo */
@media (max-width: 359px) {
  .bar__logo { inline-size: 104px; }
  .bar__cta { font-size: 0.88rem; padding: 0.75rem 0.8rem; }
}

@media (min-width: 900px) {
  .b-hero h1 { font-size: clamp(5rem, 1.6rem + 6.6vw, 8.6rem); }
  .c-trailer .trailer { max-inline-size: 880px; }
  .rules { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .c-stack .b-wrap { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); column-gap: 56px; align-items: start; }
  .c-stack h2 { grid-column: 1 / -1; }
  .deal { margin-block-start: 22px; }
}
