/* growth.css (2026-11-01): comparison pages (/compare/), the free-switch offer (/switch.html), the Spanish landing
   page (/es/), the referral page and the testimonials block. Theme tokens only (style.css + about.css load first). */

.compare-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 1.5rem 0 .6rem; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--surface-solid); }
.compare-table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: .9rem; }
.compare-table th, .compare-table td { padding: .85rem 1rem; text-align: left; vertical-align: top; border-bottom: 1px solid var(--border-soft); line-height: 1.45; }
.compare-table thead th { font-size: .74rem; letter-spacing: .06em; text-transform: uppercase; color: var(--text-faint); background: var(--surface-2); }
.compare-table thead th.is-us { color: var(--on-accent-soft); }
.compare-table tbody th { font-weight: 600; color: var(--text); width: 26%; }
.compare-table td { color: var(--text-dim); }
.compare-table td.is-us { color: var(--text); background: var(--accent-soft); font-weight: 600; }
.compare-table tr:last-child th, .compare-table tr:last-child td { border-bottom: 0; }
.compare-note { font-size: .78rem; color: var(--text-faint); margin: 0 0 1rem; }
.compare-sources { font-size: .78rem; color: var(--text-faint); line-height: 1.6; }
.compare-sources a { color: inherit; text-decoration: underline; text-decoration-color: var(--border); }

.compare-section { max-width: 1080px; margin: 0 auto; padding: 3rem 1.5rem 0; }
.compare-section h2 { font-size: clamp(1.35rem, 2.6vw, 1.75rem); margin: 0 0 .6rem; }
.compare-section > p { color: var(--text-dim); max-width: 760px; line-height: 1.65; }
.compare-two { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.25rem; margin-top: 1.5rem; }
.compare-box { background: var(--surface-solid); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.4rem 1.5rem; }
.compare-box h3 { font-size: 1rem; margin: 0 0 .7rem; }
.compare-box ul { margin: 0; padding-inline-start: 1.1rem; color: var(--text-dim); font-size: .9rem; line-height: 1.6; }
.compare-box li + li { margin-top: .35rem; }
.compare-box.is-us { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent) inset; }

.compare-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.25rem; margin-top: 1.5rem; }
.compare-card { display: block; text-decoration: none; color: inherit; background: var(--surface-solid); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.4rem; transition: border-color .15s, transform .15s; }
.compare-card:hover { border-color: var(--accent); transform: translateY(-2px); }
.compare-card h3 { margin: 0 0 .4rem; font-size: 1.05rem; }
.compare-card p { margin: 0; color: var(--text-dim); font-size: .88rem; line-height: 1.55; }
.compare-card .compare-card-go { display: inline-block; margin-top: .8rem; color: var(--accent); font-weight: 600; font-size: .85rem; }

/* Free switch offer band (compare pages, homepage, pricing) */
.switch-offer { max-width: 1080px; margin: 3rem auto 0; padding: 0 1.5rem; }
.switch-offer-inner {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.2rem;
  padding: 1.5rem 1.75rem; border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--accent-soft), var(--blue-soft)); border: 1px solid var(--accent-ring);
}
.switch-offer h2 { font-size: 1.25rem; margin: 0 0 .3rem; text-align: start; }
.switch-offer p { margin: 0; color: var(--text-dim); font-size: .92rem; max-width: 620px; line-height: 1.55; }
.switch-offer .btn-primary { flex-shrink: 0; }

/* Steps (switch page) */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.1rem; margin-top: 1.5rem; padding: 0; list-style: none; }
.steps li { counter-increment: step; background: var(--surface-solid); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.3rem 1.3rem 1.3rem 1.3rem; }
.steps li::before { content: counter(step); display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 999px; background: var(--accent-soft); color: var(--on-accent-soft); font-weight: 800; margin-bottom: .7rem; }
.steps h3 { margin: 0 0 .35rem; font-size: .98rem; }
.steps p { margin: 0; color: var(--text-dim); font-size: .88rem; line-height: 1.55; }

/* Forms on growth pages reuse .login-card / .field-input from style.css */
.growth-form { max-width: 560px; margin: 1.6rem auto 0; text-align: left; }
.growth-form .field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 .9rem; }
@media (max-width: 560px) { .growth-form .field-row { grid-template-columns: 1fr; } }
.growth-form select.field-input { appearance: auto; }
.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

/* Testimonials (assets/testimonials.json -> testimonials.js). Hidden until there is at least one real quote. */
.testimonials { max-width: 1080px; margin: 0 auto; padding: 3.5rem 1.5rem 0; }
.testimonials h2 { text-align: center; margin: 0 0 1.6rem; }
.testimonial-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.25rem; }
.testimonial { margin: 0; background: var(--surface-solid); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.5rem; display: flex; flex-direction: column; gap: 1rem; }
.testimonial blockquote { margin: 0; font-size: .98rem; line-height: 1.6; color: var(--text); }
.testimonial blockquote::before { content: "“"; display: block; font-size: 2.4rem; line-height: .6; color: var(--accent); margin-bottom: .4rem; }
.testimonial figcaption { display: flex; align-items: center; gap: .75rem; margin-top: auto; }
.testimonial img { width: 44px; height: 44px; border-radius: 999px; object-fit: cover; }
.testimonial-who { display: flex; flex-direction: column; font-size: .84rem; }
.testimonial-who strong { color: var(--text); }
.testimonial-who span { color: var(--text-dim); }
.testimonial-metric { align-self: flex-start; font-size: .74rem; font-weight: 700; letter-spacing: .03em; color: var(--on-green-soft, var(--green)); background: var(--green-soft); border-radius: 999px; padding: .25rem .6rem; }

/* Referral page */
.referral-hero-badge { display: inline-flex; align-items: center; gap: .5rem; font-weight: 700; color: var(--on-green-soft, var(--green)); background: var(--green-soft); padding: .35rem .8rem; border-radius: 999px; font-size: .85rem; margin-bottom: 1rem; }
.referral-link-box { display: flex; gap: .5rem; flex-wrap: wrap; margin-top: 1rem; }
.referral-link-box input { flex: 1 1 260px; }

/* Language link on the Spanish page / hreflang switcher */
.lang-alt-link { font-size: .85rem; color: var(--text-dim); }
.lang-alt-link a { color: var(--accent); font-weight: 600; }
