/* ============================================================================
   AI READINESS SCORE — single-purpose lead-magnet landing page (FUNNEL.md).

   Leans on tokens.css for colour/type and borrows form controls (.lead-field,
   .lead-submit) from clone.css and .service-button / .hero-scorecard from
   service-page.css, so the page reads as the same product with minimal new CSS.
   Everything here is prefixed .rdy- and scoped to this page.
   ============================================================================ */

.rdy-container { max-width: 760px; margin: 0 auto; padding: 0 24px; }

/* --- Slim chrome ---------------------------------------------------------- */
.rdy-header { display: flex; align-items: center; justify-content: space-between; width: min(100% - 48px, 960px); margin: 0 auto; padding: 26px 0 0; }
.rdy-header img { display: block; height: 22px; }
.rdy-header-back { color: var(--text-muted); font-size: 13px; text-decoration: none; transition: color .15s ease; }
.rdy-header-back:hover { color: var(--text-primary); }

.rdy-footer { margin-top: 72px; padding: 26px 0 96px; border-top: 1px solid var(--hairline); }
.rdy-footer .rdy-container { display: flex; justify-content: space-between; align-items: center; gap: 20px; color: var(--text-muted); font-size: 13px; }
.rdy-footer-nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px 18px; }
.rdy-footer a { color: var(--text-body); text-decoration: none; }
.rdy-footer a:hover { color: var(--text-primary); }

/* --- Hero ----------------------------------------------------------------- */
.rdy-hero { padding: clamp(48px, 8vw, 88px) 0 12px; text-align: center; }
.rdy-hero h1 { margin: 10px 0 16px; font-family: var(--font-display); font-size: clamp(34px, 5.4vw, 54px); letter-spacing: -.02em; line-height: 1.05; }
.rdy-hero .service-lead { max-width: 560px; margin: 0 auto; }

.rdy-eyebrow { margin: 0; color: var(--accent-blue-link); font-family: var(--font-label); font-size: 12px; letter-spacing: .09em; text-transform: uppercase; }

.rdy-points { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 22px; max-width: 620px; margin: 28px auto 0; padding: 0; list-style: none; text-align: left; }
.rdy-points li { padding: 12px 16px; border: 1px solid var(--hairline); border-radius: var(--r-md); background: var(--surface); color: var(--text-body); font-size: 14px; }
.rdy-points strong { color: var(--text-primary); }

.rdy-start-row { display: flex; flex-direction: column; align-items: center; gap: 12px; margin-top: 30px; }
.rdy-meta { color: var(--text-muted); font-size: 13px; }
.rdy-page .service-button, .rdy-page .lead-submit { font-size: 16px; line-height: 1.2; cursor: pointer; }
.rdy-page .service-button:hover, .rdy-page .lead-submit:hover:not(:disabled) { cursor: pointer; }

/* --- Quiz card ------------------------------------------------------------ */
.rdy-quiz { padding-top: 40px; }
.rdy-card { margin-top: 22px; padding: clamp(22px, 4vw, 34px); border: 1px solid var(--hairline-strong); border-radius: var(--r-xl); background: var(--surface); }

.rdy-progress { height: 5px; margin: -6px 0 22px; border-radius: var(--r-pill); background: var(--canvas-soft); overflow: hidden; }
.rdy-progress i { display: block; height: 100%; border-radius: inherit; background: var(--accent-blue); transition: width .25s ease; }

.rdy-card-head { display: flex; justify-content: space-between; gap: 16px; margin-bottom: 14px; }
.rdy-step { color: var(--text-muted); font-family: var(--font-label); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; }
.rdy-dim { color: var(--accent-blue-link); font-family: var(--font-label); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; }

.rdy-question { margin: 0 0 20px; font-family: var(--font-display); font-size: clamp(20px, 3vw, 26px); letter-spacing: -.01em; line-height: 1.25; }

.rdy-opts { display: grid; gap: 10px; }
.rdy-opt { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border: 1px solid var(--hairline-strong); border-radius: var(--r-md); background: transparent; color: var(--text-body); font-family: var(--font-body); font-size: 15px; text-align: left; cursor: pointer; transition: border-color .15s ease, background .15s ease, color .15s ease; }
.rdy-opt:hover { border-color: var(--accent-blue-link); color: var(--text-primary); }
.rdy-opt:focus-visible { outline: 3px solid var(--accent-blue); outline-offset: 2px; }
.rdy-opt.is-selected { border-color: var(--accent-blue); background: var(--accent-support-tint); color: var(--text-primary); }
.rdy-opt-mark { flex: 0 0 auto; width: 16px; height: 16px; border: 2px solid var(--hairline-strong); border-radius: 50%; transition: border-color .15s ease, background .15s ease; }
.rdy-opt.is-selected .rdy-opt-mark { border-color: var(--accent-blue); background: var(--accent-blue); }

.rdy-card-foot { display: flex; justify-content: space-between; margin-top: 20px; }
.rdy-back { padding: 8px 4px; border: 0; background: none; color: var(--text-muted); font-family: var(--font-body); font-size: 14px; cursor: pointer; }
.rdy-back:hover { color: var(--text-primary); }

/* --- Result --------------------------------------------------------------- */
.rdy-result { text-align: center; }
.rdy-tier { display: flex; align-items: baseline; justify-content: center; gap: 16px; margin: 14px 0 6px; }
.rdy-score { font-family: var(--font-display); font-size: clamp(48px, 8vw, 72px); letter-spacing: -.03em; color: var(--text-primary); }
.rdy-tier-name { padding: 9px 19px; border-radius: var(--r-pill); font-family: var(--font-label); font-size: 16px; font-weight: 700; line-height: 1; letter-spacing: .06em; text-transform: uppercase; }
.rdy-tier-exploring { background: var(--accent-voltage); color: var(--accent-voltage-ink); }
.rdy-tier-piloting { background: var(--accent-support); color: var(--accent-support-on); }
.rdy-tier-scaling { background: var(--accent-ember); color: var(--accent-ember-ink); }
.rdy-meaning { max-width: 560px; margin: 12px auto 0; color: var(--text-body); line-height: 1.6; }
.rdy-retake { margin-top: 18px; padding: 6px 4px; border: 0; background: none; color: var(--text-muted); font-family: var(--font-body); font-size: 13px; text-decoration: underline; cursor: pointer; }
.rdy-retake:hover { color: var(--text-primary); }

/* --- Gate ----------------------------------------------------------------- */
.rdy-gate { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 28px; align-items: center; }
.rdy-blur { filter: blur(5px); opacity: .6; pointer-events: none; user-select: none; }
.rdy-gate-copy h3 { margin: 0 0 8px; font-family: var(--font-display); font-size: 24px; letter-spacing: -.01em; }
.rdy-gate-copy > p { margin: 0 0 6px; color: var(--text-body); font-size: 14px; line-height: 1.6; }
.rdy-form .lead-field { margin-top: 14px; }
.rdy-form .lead-submit { width: 100%; margin-top: 18px; }
.rdy-privacy { margin: 10px 0 0; color: var(--text-muted); font-size: 12px; }
.rdy-error, .rdy-blocked { margin: 12px 0 0; color: var(--accent-ember); font-size: 13px; }
.rdy-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* --- Breakdown & recommendations ------------------------------------------ */
.rdy-scorecard { margin-top: 14px; }
.rdy-sent { margin: 16px 0 0; color: var(--text-body); font-size: 14px; }

.rdy-next h3 { margin: 0 0 16px; font-family: var(--font-display); font-size: 24px; letter-spacing: -.01em; }
.rdy-recs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.rdy-recs article { padding: 18px; border: 1px solid var(--hairline); border-radius: var(--r-md); background: var(--canvas); }
.rdy-rec-dim { color: var(--accent-blue-link); font-family: var(--font-label); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
.rdy-recs h4 { margin: 8px 0 6px; font-family: var(--font-display); font-size: 17px; }
.rdy-recs p { margin: 0 0 10px; color: var(--text-body); font-size: 13.5px; line-height: 1.55; }
.rdy-recs a { color: var(--accent-blue-link); font-size: 13.5px; text-decoration: none; }
.rdy-recs a:hover { text-decoration: underline; }

.rdy-cta { display: flex; flex-direction: column; align-items: center; gap: 14px; margin-top: 24px; padding-top: 22px; border-top: 1px solid var(--hairline); text-align: center; }
.rdy-cta p { max-width: 560px; margin: 0; color: var(--text-body); font-size: 14px; line-height: 1.6; }

/* --- Shared post-conversion navigation ----------------------------------- */
.funnel-next { margin-top: 22px; padding: clamp(24px, 4vw, 34px); border: 1px solid var(--hairline-strong); border-radius: var(--r-xl); background: var(--surface); text-align: center; }
.funnel-next h3 { margin: 8px auto; max-width: 580px; font-family: var(--font-display); font-size: clamp(22px, 3.5vw, 30px); letter-spacing: -.015em; }
.funnel-next > p:not(.rdy-eyebrow) { max-width: 580px; margin: 0 auto; color: var(--text-body); font-size: 14px; line-height: 1.65; }
.funnel-next-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.funnel-next .service-button-ghost { border-color: var(--hairline-strong); }
.funnel-next-services { display: inline-block; margin-top: 16px; color: var(--accent-blue-link); font-size: 14px; text-decoration: none; }
.funnel-next-services:hover { text-decoration: underline; }

/* --- Trust strip & noscript ------------------------------------------------ */
.rdy-trust { margin-top: 48px; }
.rdy-trust p { margin: 0 auto; max-width: 620px; color: var(--text-muted); font-size: 14px; line-height: 1.7; text-align: center; }
.rdy-trust strong { color: var(--text-body); }
.rdy-trust a { color: var(--accent-blue-link); text-decoration: none; }
.rdy-trust a:hover { text-decoration: underline; }
.rdy-noscript { padding: 18px; border: 1px solid var(--hairline-strong); border-radius: var(--r-md); color: var(--text-body); }

/* --- Responsive ------------------------------------------------------------ */
@media (max-width: 720px) {
  .rdy-header { width: min(100% - 32px, 960px); }
  .rdy-points { grid-template-columns: 1fr; }
  .rdy-gate { grid-template-columns: 1fr; }
  .rdy-locked { order: 2; }
  .rdy-recs { grid-template-columns: 1fr; }
  .rdy-footer .rdy-container { align-items: flex-start; flex-direction: column; gap: 12px; }
  .rdy-footer-nav { justify-content: flex-start; }
  .funnel-next-actions { align-items: stretch; flex-direction: column; }
  .funnel-next-actions .service-button { width: 100%; }
}
