/* Competitor Gap Scorecard pages (inc/scorecard.php). Builds on trades.css. */

.gs .tp-hero { padding-bottom: 3.5rem; }
.gs .tp-hero h1 { font-size: clamp(1.75rem, 4.2vw, 2.6rem); line-height: 1.12; letter-spacing: -.025em; }
.gs .tp-kind { border-radius: 14px; line-height: 1.5; }
.gs-direct { margin: 1.25rem 0 0; color: rgba(255,255,255,.86); }
.gs-direct a { color: var(--tp-lime); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.gs-jump { margin: 1.4rem 0 0; }
@media (max-width: 520px) { .gs-jump .tp-btn { width: 100%; } }
@media (min-width: 960px) {
  .gs .tp-hero-grid { grid-template-columns: 1.15fr .85fr; align-items: start; }
  .gs-jump { display: none; }
}

.gs-formwrap { scroll-margin-top: 6.5rem; color: var(--tp-ink); }
.gs-form-title { margin: 0 0 1rem; font: 700 1.25rem/1.2 var(--font-display); color: var(--tp-green); }
.gs-fields { display: grid; gap: .85rem; }

.gs .gs-proof { padding: 2.75rem 0; }
.gs-facts { list-style: none; margin: 0 0 1.5rem; padding: 0; display: flex; flex-wrap: wrap; gap: .6rem; }
.gs-facts li { padding: .5rem .9rem; border-radius: 99px; background: var(--tp-mint); border: 1px solid var(--tp-line); color: var(--tp-green); font-weight: 700; font-size: .9rem; }
.gs-quotes { display: grid; gap: 1rem; }
@media (min-width: 768px) { .gs-quotes { grid-template-columns: repeat(3, 1fr); } }
.gs-quote { margin: 0; display: flex; flex-direction: column; gap: .75rem; padding: 1.35rem; background: #fff; border: 1px solid var(--tp-line); border-radius: 20px; box-shadow: 0 10px 30px rgba(2,46,31,.07); }
.gs-quote blockquote { margin: 0; line-height: 1.65; }
.gs-quote p { margin: 0; }
.gs-quote .gs-stars { color: #b8860b; letter-spacing: .12em; }
.gs-quote figcaption { margin-top: auto; font-size: .9rem; color: var(--tp-muted); }
.gs-more { margin: 1.1rem 0 0; }
.gs-more a { color: var(--tp-green); font-weight: 600; text-decoration: underline; }
.gs-note { font-size: .9rem; color: var(--tp-muted); }

/* ---- Images and sample scorecard ---- */
.gs-sr { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.gs-lede { margin: 0 0 1.5rem; max-width: 46rem; font-size: 1.08rem; line-height: 1.7; color: #1f2f28; }
.gs-checks { list-style: none; margin: 0; padding: 0; display: grid; gap: .9rem; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 720px) { .gs-checks { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1080px) { .gs-checks { grid-template-columns: repeat(5, 1fr); gap: 1rem; } }
.gs-checks li { display: flex; flex-direction: column; overflow: hidden; background: #fff; border: 1px solid var(--tp-line); border-radius: 18px; box-shadow: 0 6px 20px rgba(2,46,31,.06); }
.gs-checks li:last-child:nth-child(odd) { grid-column: 1 / -1; }
@media (max-width: 719px) {
  .gs-checks li:last-child:nth-child(odd) { display: grid; grid-template-columns: 46% 1fr; grid-template-rows: 1fr 1fr; align-items: center; }
  .gs-checks li:last-child:nth-child(odd) .gs-check-img { grid-row: 1 / span 2; height: 100%; aspect-ratio: auto; }
  .gs-checks li:last-child:nth-child(odd) h3 { align-self: end; margin-bottom: .3rem; }
  .gs-checks li:last-child:nth-child(odd) p { align-self: start; margin-bottom: .8rem; }
}
@media (min-width: 720px) { .gs-checks li:last-child:nth-child(odd) { grid-column: auto; } }
.gs-check-img { width: 100%; height: auto; aspect-ratio: 5 / 4; object-fit: cover; }
.gs-checks h3 { margin: 1rem 1rem .4rem; font: 700 1.02rem/1.25 var(--font-display); color: var(--tp-green); }
.gs-checks p { margin: 0 1rem 1.1rem; font-size: .92rem; line-height: 1.55; color: var(--tp-muted); }
.gs-sample-intro { display: grid; gap: 1.25rem; align-items: center; margin-bottom: 1.5rem; }
@media (min-width: 860px) { .gs-sample-intro { grid-template-columns: 1fr 1fr; gap: 2.5rem; } }
.gs-sample-intro .gs-lede { margin-bottom: 0; }
.gs-desk, .gs-fig, .gs-banner { width: 100%; height: auto; border-radius: 22px; box-shadow: 0 18px 50px rgba(2,46,31,.14); }
.gs-fig { max-width: 46rem; margin: 0 0 1.75rem; }
.gs-sample td.gs-bad { color: #9b1c12; }
.gs-sample td.gs-good { color: #14653f; }
.gs-sample td[data-label] { font-weight: 600; }
.gs-sample td[data-label] [aria-hidden] { font-weight: 800; }
.gs-sample caption { text-align: left; }
.gs .tp-steps li { padding-left: 5.75rem; min-height: 5.5rem; }
.gs .tp-steps li::before { display: none; }
.gs-stepicon { position: absolute; left: 1rem; top: 1rem; width: 3.5rem; height: 3.5rem; }
.gs-founders-row { display: grid; gap: 1.5rem; align-items: center; }
@media (min-width: 720px) { .gs-founders-row { grid-template-columns: auto 1fr; gap: 2.5rem; } }
.gs-founders h2 { margin-bottom: .8rem; }
.gs-founder-photos { display: flex; gap: 1rem; }
.gs-founder-photos img { width: 7.5rem; height: 7.5rem; object-fit: cover; object-position: center 20%; border-radius: 50%; border: 4px solid #fff; box-shadow: 0 10px 30px rgba(2,46,31,.18); }
.gs-banner { margin: 0 0 1.75rem; border-radius: 22px; }

/* ---- Short form inside the closing card ---- */
.gs-bottom-form { max-width: 40rem; margin: 0 auto; text-align: left; color: var(--tp-ink); }
.gs-bottom-form .tp-btn { margin-top: 1.25rem; }
.tp-final-card .gs-bottom-form .tp-form-note { margin: .9rem 0 0; color: var(--tp-muted); font-size: .8rem; line-height: 1.5; }
.tp-final-card .gs-bottom-form .tp-form-note a { color: var(--tp-green); }
.tp-final-card .gs-bottom-form .tp-form-error { margin: .75rem 0 0; color: #b42318; font-size: .9rem; }
@media (min-width: 640px) { .gs-bottom-form .gs-span { grid-column: 1 / -1; } }
.gs-bottom-form .enquiry-thanks { text-align: center; }
.gs-bottom-form .enquiry-thanks h3 { margin: 0 0 .6rem; font: 700 1.5rem/1.25 var(--font-display); color: var(--tp-green); }
.tp-final-card .gs-bottom-form .enquiry-thanks p { margin: 0; color: var(--tp-ink); }

/* ---- Ads page: slim bar and legal footer instead of the site header and footer ---- */
.gs-bar {
  position: sticky; top: 0; z-index: 50; display: flex; align-items: center; justify-content: space-between; gap: .75rem;
  padding: .65rem 1.25rem; background: #022e1f; border-bottom: 1px solid rgba(255,255,255,.14);
}
.gs-bar img { width: 110px; height: auto; flex: none; }
.gs-bar-actions { display: flex; align-items: center; gap: .5rem; }
.gs-bar-actions a { display: inline-flex; align-items: center; min-height: 2.75rem; padding: 0 .85rem; border-radius: 99px; font: 700 .9rem var(--font-display); white-space: nowrap; }
.gs-bar-call { color: #fff; border: 1px solid rgba(255,255,255,.35); }
.gs-bar-wa { background: #d8f24b; color: #022e1f; }
@media (max-width: 360px) { .gs-bar { padding: .6rem .75rem; } .gs-bar img { width: 84px; } .gs-bar-actions a { padding: 0 .6rem; font-size: .8rem; } }
.gs-lp .tp-hero { padding-top: 2.5rem; }
.gs-lp .gs-formwrap { scroll-margin-top: 5rem; }
.gs-legal { padding: 1.5rem 1.25rem 2.5rem; text-align: center; font-size: .8rem; line-height: 1.6; color: #4b5b54; border-top: 1px solid #dfe8e3; }
.gs-legal p { margin: 0 0 .35rem; }
.gs-legal a { text-decoration: underline; }
