/* Shared research theme for server-rendered pages. Content wording is unchanged. */
.q-site {
  --primary0: #172b46;
  --primary1: #213651;
  --primary2: #52647a;
  --warm: #2458d3;
  --warm-light: #2458d3;
  --gradient: #2458d3;
  --text-dark: #172b46;
  --background: #ffffff;
}
.q-site .q-page-content:focus { outline: none; }
.q-site .q-page-content { min-height: 52vh; }
.q-site .container, .q-site .hero-container, .q-site .team-container { width: min(1200px, calc(100% - 96px)); max-width: 1200px; padding-inline: 0; margin-inline: auto; }
.q-site .home { background: var(--q-canvas); }
.q-site .hero { padding: 72px 0 55px; background: white; color: var(--q-ink); }
.q-site .hero::before, .q-site .hero::after, .q-site .image-decoration, .q-site .cta-section::before { display: none; }
.q-site .hero-grid { display: grid; grid-template-columns: 1.08fr 1fr; gap: 70px; align-items: center; }
.q-site .hero-text-column, .q-site .hero-image-column { width: 100%; min-width: 0; }
.q-site .hero-title { max-width: 660px; margin: 18px 0 25px; font-size: clamp(38px, 4vw, 58px); line-height: 1.12; letter-spacing: -.055em; color: var(--q-ink); font-weight: 600; overflow-wrap: break-word; hyphens: none; }
.q-site .gradient-text { background: none; color: inherit; -webkit-text-fill-color: currentColor; }
.q-site .hero-badge { background: transparent; border: 0; border-radius: 0; padding: 0; color: var(--q-muted); font-size: 12px; font-weight: 550; backdrop-filter: none; box-shadow: none; }
.q-site .hero-badge i { color: var(--q-blue); }
.q-site .hero-description { max-width: 600px; margin: 0 0 25px; color: var(--q-muted); font-size: 15px; line-height: 1.8; }
.q-site .hero-features { gap: 12px; margin-top: 25px; }
.q-site .feature-item { align-items: flex-start; gap: 12px; color: var(--q-muted); font-size: 12px; }
.q-site .feature-item i { margin-top: 4px; color: var(--q-blue); font-size: 12px; }
.q-site .hero-buttons { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.q-site .th-btn { min-height: 46px; padding: 12px 19px; border: 1px solid transparent; border-radius: 7px; font-size: 12px; font-weight: 600; line-height: 1.5; background: var(--q-blue); box-shadow: none; }
.q-site .th-btn i { font-size: 12px; }
.q-site .th-btn:hover { background: var(--q-blue-hover); box-shadow: none; transform: none; }
.q-site .th-btn.btn-inverse { background: transparent; border: 1px solid var(--q-line); color: var(--q-ink) !important; }
.q-site .th-btn.btn-inverse:hover { background: var(--q-blue-soft); border-color: #becdea; }
.q-site .hero .account-note { margin-top: 18px; color: var(--q-muted); font-size: 11px; line-height: 1.7; }
.q-site .hero-image { padding: 0; }
.q-site .hero-image > img { display: block; max-width: 100%; height: auto; border-radius: 12px; box-shadow: none; }
.q-site .stats-preview { display: flex; flex-direction: column; gap: 0; padding: 20px 30px; border: 1px solid #dce5f6; border-radius: 14px; background: var(--q-blue-soft); }
.q-site .stat-preview-card { position: static; display: flex; align-items: center; gap: 20px; padding: 25px 0; margin: 0; border: 0; border-radius: 0; background: transparent; color: var(--q-ink); box-shadow: none; transform: none; animation: none; }
.q-site .stat-preview-card + .stat-preview-card { border-top: 1px solid #cdd9ec; }
.q-site .stat-preview-card:hover { box-shadow: none; transform: none; }
.q-site .stat-preview-icon { display: grid; place-items: center; width: 34px; height: 34px; flex-shrink: 0; border-radius: 6px; background: #ffffff85; color: var(--q-blue); font-size: 18px; }
.q-site .stat-preview-text { color: var(--q-ink); font-size: 14px; font-weight: 550; }
.q-site .info-disclaimer, .q-site .hero .info-disclaimer { align-items: flex-start; gap: 12px; padding: 18px 20px; margin-top: 35px; border: 1px solid var(--q-line); border-left: 3px solid #a7bbdf; border-radius: 6px; background: #f6f8fb; color: var(--q-muted); font-size: 11px; line-height: 1.8; }
.q-site .info-disclaimer strong, .q-site .hero .info-disclaimer strong { color: var(--q-ink); }
.q-site .info-disclaimer i { color: var(--q-blue); font-size: 14px; }
.q-site .info-disclaimer p { margin: 0; font-size: inherit; }
.q-site .features-overview, .q-site .team-section, .q-site .faq-section, .q-site .cta-section { padding: 62px 0; background: var(--q-canvas); border-top: 1px solid var(--q-line); }
.q-site .features-overview:nth-of-type(odd), .q-site .team-section { background: white; }
.q-site .section-header { text-align: left !important; margin-bottom: 30px; }
.q-site .section-title, .q-site .team-section .feature-title, .q-site .cta-title { max-width: 850px; margin: 10px 0 16px; color: var(--q-ink); font-size: clamp(27px, 3vw, 36px); font-weight: 600; line-height: 1.2; letter-spacing: -.045em; }
.q-site .section-description, .q-site .section-subtitle { max-width: 700px; margin: 0; color: var(--q-muted); font-size: 13px; line-height: 1.8; }
.q-site .section-badge, .q-site .feature-badge { margin: 0 0 8px; padding: 0; background: none; color: var(--q-muted); border: 0; border-radius: 0; box-shadow: none; font-size: 11px; letter-spacing: 0; text-transform: none; }
.q-site .section-badge i, .q-site .feature-badge i { color: var(--q-blue); }
.q-site .feature-card { height: 100%; padding: 24px 8px 24px 0; border: 0; border-top: 1px solid var(--q-line); border-radius: 0; background: transparent; box-shadow: none; transform: none; }
.q-site .feature-card:hover { border-color: var(--q-line); background: transparent; box-shadow: none; transform: none; }
.q-site .feature-icon, .q-site .feature-card-icon { display: flex; align-items: center; width: 30px; height: 30px; margin: 0 0 18px; border: 0; border-radius: 0; background: transparent; color: var(--q-blue); box-shadow: none; }
.q-site .feature-icon i, .q-site .feature-card-icon i { color: var(--q-blue); font-size: 22px; }
.q-site .feature-card .feature-title, .q-site .feature-card-title { margin: 0 0 12px; color: var(--q-ink); font-size: 19px; font-weight: 650; line-height: 1.35; letter-spacing: -.025em; }
.q-site .feature-card .feature-description, .q-site .feature-card-description { margin: 0; color: var(--q-muted); font-size: 13px; line-height: 1.8; }
.q-site .team-grid { display: grid; grid-template-columns: .7fr 1.3fr; gap: 75px; }
.q-site .team-image-column, .q-site .team-content-column { min-width: 0; width: 100%; }
.q-site .profile-pic { text-align: left !important; }
.q-site .profile-pic img { width: 200px; max-width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 8px; border: 0; box-shadow: none; }
.q-site .profile-pic img:hover { transform: none; box-shadow: none; }
.q-site .profile-pic p { margin: 16px 0; color: var(--q-muted); font-size: 12px; }
.q-site .profile-pic strong { color: var(--q-ink); font-size: 16px; }
.q-site .profile-pic .social-link { background: var(--q-blue-soft); color: var(--q-blue); width: 32px; height: 32px; border: 0; border-radius: 6px; box-shadow: none; }
.q-site .team-section .feature-description { color: var(--q-muted); font-size: 14px; line-height: 1.9; }
.q-site .feature-list { margin-top: 25px; padding: 0; list-style: none; }
.q-site .feature-list li { color: var(--q-muted); font-size: 13px; }
.q-site .feature-list i { color: var(--q-blue); }
.q-site .faq-container { max-width: none; }
.q-site .faq-item { margin: 0; border: 0; border-bottom: 1px solid var(--q-line); border-radius: 0; background: transparent; box-shadow: none; }
.q-site .faq-item:first-child { border-top: 1px solid var(--q-line); }
.q-site .faq-item:hover { border-color: var(--q-line); box-shadow: none; }
.q-site .faq-question { display: flex; align-items: center; gap: 15px; padding: 22px 0; color: var(--q-ink); font-size: 14px; line-height: 1.6; }
.q-site .faq-icon { width: 23px; height: 23px; background: transparent; color: var(--q-muted); box-shadow: none; font-size: 24px; }
.q-site .coaching-page details.faq-item[open] .faq-icon, .q-site .faq-item.active .faq-icon { background: transparent; color: var(--q-blue); box-shadow: none; }
.q-site .faq-answer p { max-width: 850px; padding: 0 0 25px 38px; font-size: 13px; color: var(--q-muted); }
.q-site details.faq-item[open] .faq-answer { max-height: none; }
.q-site .cta-section { background: var(--q-blue-soft); }
.q-site .cta-box { text-align: left !important; padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; backdrop-filter: none; }
.q-site .cta-description { max-width: 720px; margin: 0 0 25px; color: var(--q-muted); font-size: 14px; }
.q-site .cta-buttons { justify-content: flex-start; }
.q-site .coaching-page .cta-disclaimer { max-width: 760px; margin: 23px 0 0; color: var(--q-muted); font-size: 11px; }
.q-site .coaching-page .hero-disclaimer { color: var(--q-muted); font-size: 11px; max-width: 600px; }
.q-site .coaching-page .hero-grid { grid-template-columns: minmax(0, 1fr); max-width: 760px; }
.q-site .coaching-page .features-overview .row > [class*="col-"] { width: 50%; }

/* Pricing keeps its existing offer, donation form, and payment activation. */
.q-site .pricing-section { padding: 65px 0 75px; background: var(--q-canvas); }
.q-site .pricing-section .section-title { font-size: clamp(38px, 4vw, 54px); }
.q-site .donation-section > [class*="col-"] { width: 100%; }
.q-site .pricing-card { display: grid; grid-template-columns: .85fr 1.3fr; border: 1px solid var(--q-line); border-radius: 13px; background: white; box-shadow: none; transform: none; }
.q-site .pricing-card:hover { transform: none; box-shadow: none; }
.q-site .pricing-card__hero { padding: 35px; color: var(--q-ink); background: var(--q-blue-soft); text-align: left; }
.q-site .pricing-logo { width: 40px; margin-bottom: 25px; }
.q-site .pricing-badge, .q-site .pricing-card__hero .pricing-badge { padding: 0; margin-bottom: 16px; background: none; color: var(--q-muted); border-radius: 0; font-size: 12px; }
.q-site .pricing-card__hero .pricing-title { color: var(--q-ink); font-size: 27px; font-weight: 600; line-height: 1.3; }
.q-site .pricing-price { margin: 20px 0 28px; font-size: 52px; font-weight: 600; letter-spacing: -.05em; }
.q-site .pricing-card__hero .pricing-price small { display: inline-block; color: var(--q-muted); font-size: 13px; font-weight: 400; letter-spacing: 0; }
.q-site .pricing-card__body { padding: 35px 40px; }
.q-site .pricing-lead { text-align: left; color: var(--q-muted); font-size: 14px; margin: 0 0 22px; }
.q-site .pricing-features { margin: 20px 0; }
.q-site .pricing-features li { padding: 13px 0; border-top: 1px solid var(--q-line); color: var(--q-ink); font-size: 13px; }
.q-site .pricing-features li i { font-size: 12px; color: var(--q-blue); }
.q-site .pricing-actions { justify-content: flex-start; }
.q-site .pricing-card__hero .pricing-secondary { padding: 11px 16px; min-height: 44px; border: 1px solid #becdea; border-radius: 7px; background: white; color: var(--q-ink); font-size: 12px; box-shadow: none; }
.q-site .pricing-card__hero .pricing-secondary:hover { border-color: var(--q-blue); background: white; transform: none; }
.q-site .donation-card__privacy { color: var(--q-muted); margin: 24px 0 0; font-size: 11px; line-height: 1.8; }

/* Quiet document and form layouts preserve all existing body wording. */
.q-site .q-page-content > .container { padding-block: 35px 55px; }
.q-site .q-page-content > br { display: none; }
.q-site .card { border: 1px solid var(--q-line); border-radius: 10px; box-shadow: none !important; background: white; color: var(--q-ink); }
.q-site .card-header { padding: 23px 28px; border-bottom: 1px solid var(--q-line); border-radius: 9px 9px 0 0; color: var(--q-ink); background: #edf1f7; font-size: 25px; font-weight: 600; line-height: 1.4; letter-spacing: -.035em; }
.q-site .card-header h1, .q-site h1.card-header { font-size: 32px; margin: 0; }
.q-site .card-body { padding: 28px; }
.q-site .card-body h2 { margin-top: 24px; font-size: 24px; letter-spacing: -.03em; }
.q-site .card-body h3 { margin-top: 24px; font-size: 19px; letter-spacing: -.02em; }
.q-site .card-body p, .q-site .card-body li { font-size: 14px; line-height: 1.9; }
.q-document .q-page-content > .container { max-width: 960px; }
.q-document .card-header { padding: 28px 36px; }
.q-document .card-body { padding: 32px 36px; }
.q-document .card-body > :first-child { margin-top: 0; }
.q-document .card-body strong { font-weight: 600; }
.q-document .card-body hr { height: 0; margin: 28px 0; border: 0; border-top: 1px solid var(--q-line); background: none; opacity: 1; }
.q-document .card-body table { display: block; width: 100%; max-width: 100%; overflow-x: auto; border-collapse: collapse; margin: 24px 0; }
.q-document .card-body th, .q-document .card-body td { padding: 12px 14px; border: 1px solid var(--q-line); text-align: left; vertical-align: top; min-width: 150px; font-size: 12px; line-height: 1.8; }
.q-document .card-body th { color: var(--q-ink); background: var(--q-blue-soft); font-weight: 650; }
.q-site .legal-docs-btns { margin: 15px 0 30px; gap: 12px; }
.q-site .form-control, .q-site .form-select { border: 1px solid #c8d3e2; border-radius: 6px; padding: 11px 13px; font-family: var(--q-font); font-size: 14px; color: var(--q-ink); background-color: white; }
.q-site .form-control:focus, .q-site .form-select:focus { border-color: var(--q-blue); box-shadow: 0 0 0 3px #2458d318; }
.q-site .form-check-input { accent-color: var(--q-blue); }
.q-site .btn-primary { color: white; background: var(--q-blue); border-color: var(--q-blue); border-radius: 6px; }
.q-site .btn-primary:hover { background: var(--q-blue-hover); border-color: var(--q-blue-hover); }
.q-site .auth-section { padding: 60px 0; background: var(--q-canvas); min-height: 60vh; }
.q-site .auth-card { padding: 35px; border: 1px solid var(--q-line); border-radius: 12px; background: white; box-shadow: none; }
.q-site .auth-icon { width: 45px; height: 45px; border-radius: 8px; background: var(--q-blue-soft); color: var(--q-blue); box-shadow: none; }
.q-site .auth-icon i { color: var(--q-blue); font-size: 21px; }
.q-site .auth-header { text-align: left; margin-bottom: 25px; }
.q-site .auth-icon { margin: 0 0 20px; }
.q-site .auth-form .form-control { border: 1px solid #c8d3e2; border-radius: 6px; font-family: var(--q-font); font-size: 14px; }
.q-site .auth-form .form-control:focus { border-color: var(--q-blue); box-shadow: 0 0 0 3px #2458d318; }
.q-site .auth-title { font-size: 30px; font-weight: 600; letter-spacing: -.04em; }
.q-site .auth-submit { background: var(--q-blue); border-radius: 7px; font-size: 14px; box-shadow: none; }
.q-site .auth-submit:hover { background: var(--q-blue-hover); transform: none; box-shadow: none; }
.q-site .auth-links { border-color: var(--q-line); }
.q-site .auth-links a { color: var(--q-blue); }
.q-site .auth-links { font-size: 13px; line-height: 1.8; }
.q-site .auth-links a { font-size: 13px; }
.q-site .user_handle_card { max-width: 600px; margin: 40px auto; }
.q-site .predictions-date { color: var(--q-blue) !important; background: var(--q-blue-soft); border-radius: 5px; }
.q-site .predictions-hero, .q-site .predictions-table-card, .q-site .predictions-toolbar, .q-site .predictions-info-card, .q-site .predictions-premium-note, .q-site .predictions-status { border: 1px solid var(--q-line); border-radius: 8px; box-shadow: none; }
.q-site .youtube-content { max-width: 800px; margin: 30px auto; }
.q-site .card-deck { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.q-site .card-deck .pricing-card { display: flex; flex-direction: column; }
.q-site .card-deck .pricing-card .card-header { display: grid; place-items: center; min-height: 105px; }
.q-site .card-deck .pricing-card .card-body { padding: 24px; }
.q-api-docs main { max-width: 960px; padding: 48px 30px 65px; background: white; }
.q-api-docs main { box-sizing: border-box; width: 100%; }
.q-api-docs main table { display: block; max-width: 100%; overflow-x: auto; }
.q-api-docs main pre { box-sizing: border-box; max-width: 100%; }
.q-api-docs main :not(pre) > code { overflow-wrap: anywhere; }
.q-api-docs main h1 { font-size: 36px; margin-bottom: 25px; }
.q-api-docs main h2 { font-size: 24px; margin-top: 35px; }
.q-api-docs main th, .q-api-docs main td { border-color: var(--q-line); font-size: 13px; }
.q-api-docs main pre, .q-api-docs main code { background: var(--q-blue-soft); color: var(--q-ink); }
.q-site .custom-ad-modal .custom-ad-modal-content { border: 1px solid var(--q-line); border-radius: 10px; box-shadow: 0 20px 60px #172b4626; }
.q-site .custom-ad-modal[style*="flex"] .custom-ad-modal-content { animation: none; }
.q-site .custom-ad-modal .custom-ad-modal-image, .q-site .custom-ad-modal .custom-ad-modal-image:hover { box-shadow: none; transform: none; }

@media (max-width: 1100px) {
  .q-site .hero-grid { gap: 40px; }
  .q-site .hero-title { font-size: 44px; }
  .q-site .hero-buttons { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 800px) {
  .q-site .hero { padding-block: 45px; }
  .q-site .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .q-site .hero-image-column { max-width: 540px; margin-inline: auto; }
  .q-site .hero-title { max-width: 600px; }
  .q-site .hero-buttons { flex-direction: row; }
  .q-site .features-overview, .q-site .team-section, .q-site .faq-section, .q-site .cta-section { padding-block: 44px; }
  .q-site .team-grid { grid-template-columns: 180px 1fr; gap: 35px; }
  .q-site .pricing-card { grid-template-columns: 1fr; }
  .q-site .pricing-card__hero { padding: 28px; }
  .q-site .card-deck { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .q-site .container, .q-site .hero-container, .q-site .team-container { width: calc(100% - 40px); }
  .q-site .hero-title { font-size: 38px; }
  .q-site .hero-description { font-size: 14px; }
  .q-site .hero-buttons { flex-direction: column; align-items: stretch; }
  .q-site .coaching-page .features-overview .row > [class*="col-"] { width: 100%; }
  .q-site .stats-preview { padding: 12px 20px; }
  .q-site .stat-preview-card { gap: 14px; padding-block: 20px; }
  .q-site .team-grid { grid-template-columns: 1fr; gap: 30px; }
  .q-site .profile-pic img { width: 150px; }
  .q-site .pricing-section { padding-block: 40px; }
  .q-site .pricing-card__body { padding: 25px; }
  .q-site .pricing-title, .q-site .pricing-card__hero .pricing-title { font-size: 24px; }
  .q-site .card-header, .q-document .card-header { padding: 22px; font-size: 23px; }
  .q-site .card-body, .q-document .card-body { padding: 23px; }
  .q-site .card-body p, .q-site .card-body li { font-size: 13px; }
  .q-site .auth-card { padding: 25px; }
  .q-site .card-deck { grid-template-columns: 1fr; }
}
