/* 21 Ways v2: confirmation questions, answered page and workshop page. Builds on styles.css. */

.w21-next { background: var(--cream); padding: 64px 0 72px; }
.w21-next__grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); gap: 64px; align-items: start; }
.w21-next__grid--solo { grid-template-columns: minmax(0, 760px); justify-content: center; }
/* The welcome video is 16:9. On a computer it sits beside the questions and stays in view while they answer. */
#w21-welcome-col { position: sticky; top: 32px; }
.w21-welcome__who { margin: 16px 0 0; color: var(--muted); font-size: 15px; line-height: 1.45; }
.w21-welcome__who strong { display: block; color: var(--ink); font-size: 16px; }
.w21-next h2 { margin: 0 0 12px; font-family: var(--serif); font-size: clamp(32px, 3.4vw, 46px); letter-spacing: -.035em; line-height: 1.02; }
.w21-next__lede { margin: 0 0 26px; color: #3f4748; font-size: 18px; max-width: 620px; }

.w21-video { position: relative; width: 100%; background: #0c282d; border-radius: 6px; overflow: hidden; box-shadow: 0 18px 40px rgba(12, 40, 45, .18); }
.w21-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.w21-video--landscape { aspect-ratio: 16 / 9; }
.w21-video--portrait { aspect-ratio: 9 / 16; max-width: 360px; }
.w21-video-wrap--portrait { display: flex; justify-content: center; }

.w21-q { margin: 0 0 28px; }
.w21-q__label { margin: 0 0 12px; font-size: 17px; font-weight: 800; color: var(--ink); }
.w21-q__options { display: grid; gap: 10px; }
.w21-opt {
  appearance: none; width: 100%; text-align: left; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  border: 1.5px solid var(--line); border-radius: 6px; background: var(--paper); color: var(--ink);
  padding: 14px 18px; font: inherit; font-size: 16px; font-weight: 650; line-height: 1.35; cursor: pointer;
  transition: border-color .15s ease, background .15s ease, transform .15s ease;
}
.w21-opt:hover { border-color: var(--teal); transform: translateY(-1px); }
.w21-opt::after { content: ""; width: 18px; height: 18px; flex: 0 0 auto; border: 1.5px solid var(--line); border-radius: 50%; }
.w21-opt[aria-pressed="true"] { border-color: var(--teal); background: var(--teal-soft); }
.w21-opt[aria-pressed="true"]::after { border-color: var(--teal); background: var(--teal); box-shadow: inset 0 0 0 3px var(--teal-soft); }
.w21-opt:disabled { cursor: default; opacity: .6; transform: none; }
.w21-q--done .w21-opt:not([aria-pressed="true"]) { opacity: .55; }
.w21-q__saved { margin: 8px 0 0; min-height: 20px; color: var(--teal); font-size: 14px; font-weight: 700; }
.w21-q__saved--error { color: #b3401a; }

.w21-email { margin: 0 0 24px; padding: 18px; border: 1.5px solid var(--orange); border-radius: 6px; background: var(--paper); }
.w21-email label { display: block; margin: 0 0 10px; font-weight: 800; }
.w21-email__row { display: flex; gap: 10px; }
.w21-email input { flex: 1 1 auto; min-width: 0; border: 1.5px solid var(--line); border-radius: 4px; padding: 12px 14px; font: inherit; font-size: 16px; background: var(--white); }
.w21-email button { appearance: none; border: 0; border-radius: 4px; background: var(--teal); color: var(--white); padding: 12px 20px; font: inherit; font-weight: 800; cursor: pointer; }
.w21-email__msg { margin: 10px 0 0; font-size: 14px; color: #b3401a; min-height: 18px; }

.w21-result { margin: 8px 0 0; padding: 22px 24px; border-left: 4px solid var(--orange); background: var(--paper); }
.w21-result p { margin: 0 0 8px; }
.w21-result p:last-child { margin: 0; }
.w21-result__route { font-size: 19px; font-weight: 800; color: var(--teal); }

/* Plain pages: answered and workshop */
.w21-page { min-height: 100vh; display: flex; flex-direction: column; }
.w21-page main { flex: 1 0 auto; }
.w21-top { background: var(--teal); color: var(--white); padding: 52px 0 44px; }
.w21-top h1 { margin: 0 0 16px; font-family: var(--serif); font-size: clamp(38px, 5vw, 66px); letter-spacing: -.045em; line-height: .98; max-width: 16ch; }
.w21-top p { margin: 0; max-width: 640px; color: rgba(255,255,255,.78); font-size: 19px; }
.w21-section { padding: 56px 0; }
.w21-section--paper { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.w21-narrow { max-width: 820px; }
.w21-placeholder { display: grid; place-items: center; aspect-ratio: 16 / 9; border-radius: 6px; background: #0c282d; color: rgba(255,255,255,.7); text-align: center; padding: 24px; font-size: 17px; }
.w21-step { margin-top: 40px; padding: 32px; border-radius: 6px; background: var(--white); border: 1px solid var(--line); box-shadow: 0 18px 40px rgba(12, 40, 45, .08); }
.w21-step h2 { margin: 0 0 12px; font-family: var(--serif); font-size: clamp(28px, 3vw, 40px); letter-spacing: -.03em; line-height: 1.05; }
.w21-step p { margin: 0 0 14px; max-width: 640px; color: #3f4748; }
.w21-step .primary-cta { margin-top: 10px; text-decoration: none; }
.w21-price { font-size: 20px; font-weight: 800; color: var(--ink); }
.w21-price s { color: var(--muted); font-weight: 600; margin-right: 8px; }
.w21-step .w21-video { margin: 0 0 24px; }
.w21-carry { margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--line); }
.w21-carry__btn { appearance: none; border: 1.5px solid var(--teal); border-radius: 999px; background: transparent; color: var(--teal); padding: 12px 22px; font: inherit; font-size: 16px; font-weight: 800; cursor: pointer; transition: background .15s ease, color .15s ease; }
.w21-carry__btn:hover, .w21-carry__btn:focus-visible { background: var(--teal); color: var(--white); }
.w21-step .w21-carry__next { margin: 10px 0 0; color: var(--muted); font-size: 14px; }
.w21-quote { margin: 4px 0 18px; padding: 16px 20px; background: var(--paper); border: 1px solid var(--line); border-radius: 6px; }
.w21-step .w21-quote p { margin: 0 0 8px; font-family: var(--serif); font-style: italic; font-size: 18px; color: var(--ink); }
.w21-quote cite { font-style: normal; font-weight: 800; font-size: 14px; color: var(--teal); }
.w21-reveal-link { appearance: none; border: 0; background: none; padding: 0; margin-top: 14px; color: var(--muted); font: inherit; font-size: 14px; text-decoration: underline; cursor: pointer; }
.w21-checklist { margin: 0 0 20px; padding: 0; list-style: none; counter-reset: w21; }
.w21-checklist li { position: relative; margin: 0 0 14px; padding: 0 0 0 46px; counter-increment: w21; }
.w21-checklist li::before { content: counter(w21); position: absolute; left: 0; top: -2px; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; background: var(--teal); color: var(--white); font-weight: 900; font-size: 15px; }
.w21-text-link { color: var(--teal); font-weight: 800; }
.w21-small { font-size: 14px; color: var(--muted); }

@media (max-width: 860px) {
  .w21-next { padding: 44px 0 52px; }
  .w21-top { padding: 40px 0 34px; }
  .w21-step { padding: 24px 20px; }
  .w21-email__row { flex-direction: column; }
}

/* Tablet and phone: 1 column, the video above the questions, both no wider than 680px */
@media (max-width: 980px) {
  .w21-next__grid, .w21-next__grid--solo { grid-template-columns: minmax(0, 680px); justify-content: center; gap: 30px; }
  #w21-welcome-col { position: static; }
}

/* Confirmation page: bring the questions up the page */
.ready-page.ready-page--v2, .ready-page--v2 .ready-page__inner { min-height: 0; }
.ready-page--v2 .ready-page__inner { padding-block: 48px; }
.ready-page--v2 .ready-page__visual img { width: 460px; }
.ready-page__next { margin: 18px 0 0; color: var(--sand); font-size: 15px; font-weight: 800; }
.ready-page__next a { color: inherit; }
@media (max-width: 760px) {
  .ready-page--v2 .ready-page__inner { padding-block: 34px 30px; }
  .ready-page--v2 .ready-page__visual { display: none; }
}
