/* Calm, responsive layout for the buyer preview. */
.quiz-document { background: #fff; }
.quiz-document .site-header { min-height: 76px; padding: 16px max(24px, calc((100vw - 1240px) / 2)); background: #fff; backdrop-filter: none; }
.quiz-document .nav-links a { display: inline; font-size: 14px; }
.quiz-document:has(.lead-preview.is-active) .quiz-shell { width: min(1240px, calc(100% - 48px)); min-height: 0; }
.lead-preview.is-active { display: grid; }
.lead-preview { grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: 64px; min-height: 0; padding: 44px 0 56px; align-items: center; animation: none; }
.preview-left { min-width: 0; }
.preview-eyebrow { margin: 0 0 18px; color: #64736d; font-size: 14px; font-weight: 600; letter-spacing: 1.8px; }
.preview-left h1 { margin: 0 0 18px; font-size: clamp(38px, 3.6vw, 52px); line-height: 1.08; font-weight: 650; letter-spacing: -2px; }
.preview-left h1 span { color: #007651; }
.preview-subtitle { max-width: 560px; margin: 0; color: #65716b; font-size: 18px; line-height: 1.65; }
.sample-lead { margin-top: 30px; padding: 36px; border: 1px solid #dce7e0; border-radius: 18px; background: linear-gradient(145deg, #fff 65%, #f7faf8); box-shadow: 0 12px 36px -20px rgba(16, 63, 43, .22); }
.sample-post-meta { display: flex; align-items: center; gap: 12px; font-size: 15px; }
.sample-post-meta img { width: 32px; height: 32px; }
.sample-post-meta strong { font-weight: 600; }
.sample-post-meta span { margin-left: auto; color: #79847e; font-size: 14px; }
.sample-lead h2 { margin: 24px 0 16px; font-size: 23px; font-weight: 600; line-height: 1.4; letter-spacing: -.5px; }
.sample-quote { margin: 0; color: #65716b; font-size: 16px; line-height: 1.7; }
.sample-company { display: flex; align-items: center; gap: 16px; margin-top: 26px; font-size: 16px; }
.sample-avatar { width: 48px; height: 48px; flex: 0 0 48px; border-radius: 50%; object-fit: cover; border: 2px solid #fff; box-shadow: 0 0 0 1px #dce7e0; }
.sample-company-details { display: flex; flex-direction: column; gap: 6px; }
.sample-company span { color: #65716b; font-size: 17px; line-height: 1.6; }
.sample-outreach { margin-top: 26px; padding: 20px 22px; border: 1px solid #e2ece5; border-radius: 10px; background: #f0f6f2; }
.outreach-label { margin: 0 0 12px; color: #007651; font-size: 14px; font-weight: 600; }
.outreach-message p { margin: 0; color: #48564e; font-size: 16px; line-height: 1.7; }
.preview-offer { align-self: center; margin-top: 0; padding: 36px; border: 1px solid #e6ede8; border-radius: 18px; background: #f5f8f6; }
.preview-offer h2 { margin: 0 0 12px; font-size: 32px; font-weight: 600; letter-spacing: -.9px; line-height: 1.2; }
.offer-subtitle { margin: 0; color: #65716b; font-size: 17px; line-height: 1.6; }
.offer-price { display: flex; flex-direction: column; gap: 10px; margin: 32px 0; }
.offer-price strong { font-size: 64px; line-height: 1.1; font-weight: 600; letter-spacing: -2px; }
.offer-price span { color: #65716b; font-size: 15px; }
.preview-offer ul { list-style: none; margin: 0 0 30px; padding: 24px 0 0; border-top: 1px solid #dfe7e1; }
.preview-offer li { padding: 10px 0; font-size: 16px; line-height: 1.5; }
.offer-button { display: flex; align-items: center; justify-content: space-between; gap: 16px; width: 100%; padding: 20px 24px; border: 0; border-radius: 7px; background: #007651; color: #fff; font-family: inherit; font-size: 18px; font-weight: 600; cursor: pointer; transition: background .2s; }
.offer-button:hover { background: #005e41; }
.offer-button:focus-visible { outline: 3px solid #007651; outline-offset: 4px; }
.offer-button:disabled { opacity: .65; cursor: wait; }
.offer-assurance { margin: 20px 0 0; color: #65716b; text-align: center; font-size: 14px; }
#stripe-checkout-status { display: block; margin-top: 12px; line-height: 1.5; }
#stripe-checkout-status[hidden] { display: none; }
/* Slightly more compact desktop preview so both cards fit in one view. */
@media (min-width: 701px) {
  .quiz-document .site-header { min-height: 68px; padding-top: 12px; padding-bottom: 12px; }
  .lead-preview { gap: 56px; padding: 30px 0 32px; }
  .preview-eyebrow { margin-bottom: 14px; font-size: 13px; }
  .preview-left h1 { margin-bottom: 14px; font-size: clamp(36px, 3.3vw, 48px); }
  .preview-subtitle { font-size: 17px; line-height: 1.5; }
  .sample-lead { margin-top: 24px; padding: 28px; }
  .sample-post-meta { font-size: 14px; }
  .sample-post-meta img { width: 30px; height: 30px; }
  .sample-lead h2 { margin: 20px 0 14px; font-size: 21px; }
  .sample-quote, .outreach-message p { font-size: 15px; line-height: 1.6; }
  .sample-company { gap: 14px; margin-top: 20px; font-size: 15px; }
  .sample-avatar { width: 44px; height: 44px; flex-basis: 44px; }
  .sample-company span { font-size: 16px; line-height: 1.5; }
  .sample-outreach { margin-top: 20px; padding: 16px 20px; }
  .outreach-label { margin-bottom: 10px; font-size: 13px; }
  .preview-offer { padding: 30px; }
  .preview-offer h2 { font-size: 30px; }
  .offer-subtitle { font-size: 16px; }
  .offer-price { gap: 8px; margin: 26px 0; }
  .offer-price strong { font-size: 60px; }
  .preview-offer ul { margin-bottom: 24px; padding-top: 20px; }
  .preview-offer li { padding: 8px 0; font-size: 15px; }
  .offer-button { padding: 18px 22px; font-size: 17px; }
  .offer-assurance { margin-top: 16px; font-size: 13px; }
}
@media (max-width: 960px) {
  .lead-preview { gap: 32px; }
  .preview-offer { padding: 26px; }
}
@media (max-width: 700px) {
  .lead-preview { grid-template-columns: 1fr; gap: 36px; padding: 36px 0 48px; }
  .preview-left h1 { letter-spacing: -1.4px; }
  .preview-offer { margin-top: 0; }
  .sample-lead { padding: 22px; margin-top: 28px; }
  .sample-post-meta { flex-wrap: wrap; }
  .sample-company-details { min-width: 0; }
  .preview-offer h2 { font-size: 30px; }
  .quiz-document .brand { font-size: 23px; }
  .quiz-document .nav-links { display: flex; }
}

/* Give the remaining result content a little more presence. */
@media (min-width: 801px) {
  .preview-left h1 { font-size: 64px; }
  .preview-cards { min-height: 420px; padding-top: 24px; }
  .preview-arrow { top: 24px; }
  .sample-post h2 { font-size: 23px; }
  .sample-post > p { font-size: 19px; }
  .sample-detail dt { font-size: 15px; }
  .sample-detail dd { font-size: 17px; }
  .outreach-message p { font-size: 15px; }
}
