/* Testimonials page — page-specific overrides only.
   Reuses .fg / .facts / .rs / .rs__row / .rs__card / .meth__cta from css/learn.css. */

.fg--testimonials { padding-bottom: clamp(40px, 6vw, 80px); border-bottom: 1px solid rgba(17, 17, 16, .08); margin-bottom: clamp(40px, 6vw, 80px); }
.fg--testimonials h1 { font-size: clamp(40px, 5vw, 84px); max-width: none; margin-left: auto; margin-right: auto; line-height: 1.03; }
.fg--testimonials .fg__sub { max-width: 54ch; margin-bottom: clamp(26px, 3vw, 40px); }

/* This page shows the FULL catalogue (13 cards, not the 5-card teaser used
   on /about/) — a touch more breathing room in the row and a visible hint
   that there's more to scroll on first paint. */
.rs--all .rs__row { padding-bottom: 26px; }
.rs--all .rs__card { flex: 0 0 340px; }

@media (max-width: 640px) {
    .rs--all .rs__card { flex-basis: 84vw; }
}

/* =============================================================================
   One-section layout: result slides left, condensed offer right, full offer last
   (box chrome comes from .gsmq / .gsmq__box in css/pages/gsm.css)
   ============================================================================= */
.tm { padding: clamp(20px, 4vh, 48px) 0 clamp(40px, 6vw, 80px); }
.tm__head { margin-bottom: clamp(22px, 3vw, 38px); }
.tm__head h1 { max-width: 20ch; margin-left: auto; margin-right: auto; font-family: var(--font-serif); font-weight: 400; font-variation-settings: 'SOFT' 50; font-size: clamp(32px, 3.6vw, 54px); line-height: 1.04; letter-spacing: -0.03em; color: var(--ink); margin: 0 0 16px; }
.tm__head .lead { max-width: 62ch; margin-left: auto; margin-right: auto; }
.tm__wrap, .tm__final { padding: 0; }

.tm__stage { display: flex; flex-direction: column; min-height: 460px; }
.tm__eyebrow { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .01em; text-transform: none; color: var(--ink-mute); margin: 0 0 clamp(18px, 2.4vw, 28px); }
.tm__eyebrow b { color: var(--ink); font-weight: 600; }

.tm__slides { position: relative; flex: 1; display: flex; align-items: center; }
.tm__slide { display: none; width: 100%; }
.tm__slide.is-on { display: block; animation: tmIn .4s cubic-bezier(.2,.7,.2,1) both; }
@keyframes tmIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.tm__slide .rs__logo { height: 46px; width: auto; max-width: 190px; object-fit: contain; margin: 0 0 20px; display: block; }
.tm__slide .rs__stat { font-family: var(--font-serif); font-weight: 400; font-variation-settings: 'SOFT' 50; font-size: clamp(28px, 3.4vw, 46px); line-height: 1.08; letter-spacing: -0.03em; color: var(--ink); margin: 0 0 24px; max-width: 20ch; }
.tm__slide .rs__stat b { font-weight: 400; background: linear-gradient(100deg, #ff1e80, #9c32b0 55%, #6000ff); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
.tm__slide .rs__quote { background: #f7f7f5; border-radius: 18px; padding: 18px 20px; margin: 0; max-width: 46ch; }
.tm__slide .rs__who { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.tm__slide .rs__av { width: 32px; height: 32px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; color: #fff; font-size: 11.5px; font-weight: 700; flex-shrink: 0; }
.tm__slide .rs__name { font-size: 13.5px; font-weight: 600; color: var(--ink); }
.tm__slide .rs__quote blockquote { margin: 0; font-size: 15.5px; font-weight: 300; line-height: 1.6; color: var(--ink-soft); }

.tm__nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: clamp(22px, 3vw, 34px); padding-top: 20px; border-top: 1px solid rgba(17,17,16,.08); }
.tm__dots { display: flex; flex-wrap: wrap; gap: 7px; }
.tm__dot { width: 7px; height: 7px; padding: 0; border: 0; border-radius: 50%; background: rgba(17,17,16,.16); cursor: pointer; transition: background .2s, transform .2s; }
.tm__dot:hover { background: rgba(17,17,16,.34); }
.tm__dot.is-on { background: var(--ink); transform: scale(1.3); }
.tm__btns { display: flex; gap: 8px; flex-shrink: 0; }
.tm__btn { width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; border: 1px solid rgba(17,17,16,.12); background: #fff; color: var(--ink); cursor: pointer; transition: background .2s, color .2s, opacity .2s; }
.tm__btn svg { width: 16px; height: 16px; }
.tm__btn:hover { background: var(--ink); color: #fff; }
.tm__btn:disabled { opacity: .35; cursor: default; }
.tm__btn:disabled:hover { background: #fff; color: var(--ink); }

.tm__offer { display: flex; flex-direction: column; }
.tm__offer-eyebrow { font-family: var(--font-mono); font-size: 11px; letter-spacing: .01em; text-transform: none; color: var(--ink-mute); margin: 0 0 10px; }
.tm__offer h2 { font-family: var(--font-serif); font-weight: 400; font-variation-settings: 'SOFT' 50; font-size: clamp(24px, 2.2vw, 32px); line-height: 1.1; letter-spacing: -0.025em; color: var(--ink); margin: 0 0 12px; }
.tm__offer-lead { font-size: 15px; font-weight: 300; line-height: 1.55; color: var(--ink-soft); margin: 0 0 20px; }
.tm__offer-badge { display: flex; align-items: baseline; gap: 10px; background: #fff; border: 1px dashed rgba(17,17,16,.22); border-radius: 16px; padding: 16px 18px; margin-bottom: 20px; }
.tm__offer-badge b { font-family: var(--font-serif); font-weight: 400; font-size: 30px; line-height: 1; letter-spacing: -0.03em; color: var(--ink); flex-shrink: 0; }
.tm__offer-badge span { font-size: 13px; font-weight: 300; line-height: 1.45; color: var(--ink-soft); }
.tm__offer-cta { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; margin-bottom: 22px; }
.tm__offer-cta .btn-dark { height: 50px; padding: 0 24px; font-size: 15px; }
.tm__offer-more { font-size: 13.5px; color: var(--ink-soft); text-decoration: underline; text-underline-offset: 3px; }
.tm__offer-more:hover { color: var(--ink); }
.tm__offer-ticks { margin: auto 0 0; }
.tm__offer-ticks li { font-size: 13.5px; }

@media (max-width: 1000px) {
    .tm__stage { min-height: 0; }
    .tm__offer-ticks { margin-top: 4px; }
}

/* ── Full-screen container (as the old page) ─────────────────────────── */
.tm__h1 { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; }
.tm-page { min-height: 100dvh; display: flex; flex-direction: column; }
.tm-page .std { flex: 1; display: flex; flex-direction: column; }
.tm-page .tm { flex: 1; display: flex; flex-direction: column; padding: 0 0 clamp(14px, 1.6vw, 22px); }
.tm__wrap, .tm__final { flex: 1; display: flex; flex-direction: column; width: 100vw; margin-left: calc(50% - 50vw); padding: 0 clamp(14px, 2vw, 30px); }
.tm__wrap .gsmq__box, .tm__final .gsmq__box { flex: 1; min-height: 0; }
.tm__final .gsmq__box { display: flex; flex-direction: column; padding: clamp(22px, 2.6vw, 34px) clamp(22px, 2.6vw, 36px); }
.tm__final .gsmq__left { display: flex; flex-direction: column; justify-content: center; flex: 1; min-height: 0; padding: 0; }
.tm__stage { min-height: 0; height: 100%; }
.tm__slides { overflow: auto; }
.tm-page .foot { padding-top: 0; }
@media (max-width: 1000px) {
    .tm-page { min-height: 0; }
    .tm-page .tm { display: block; padding-bottom: 28px; }
    .tm__wrap, .tm__final { display: block; }
    .tm__stage { height: auto; }
}
.tm__wrap[hidden], .tm__final[hidden] { display: none; }
.tm__wrap, .tm__final { max-width: none; }
.tm__wrap .gsmq__box, .tm__final .gsmq__box { width: 100%; align-self: stretch; }
/* keep the offer's measure readable when the box goes full-bleed */
.tm__final .ofr { max-width: 1080px; margin: 0 auto; width: 100%; }


/* mini offer in the side panel — same language as the full offer */
.tm__offer h2 { font-family: var(--font-serif); font-weight: 400; font-variation-settings: 'SOFT' 50; font-size: clamp(23px, 2.1vw, 30px); line-height: 1.1; letter-spacing: -0.025em; color: var(--ink); margin: 0 0 20px; }
.tm__offer h2 b { font-weight: 400; background: linear-gradient(100deg, #ff1e80, #9c32b0 55%, #6000ff); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
.tm__offer-list { margin: 0 0 22px; }
.tm__offer-list li { font-size: 15px; }
.tm__offer-list i { width: 22px; height: 22px; }
.tm__offer-list i svg { width: 12px; height: 12px; }

/* back out of the offer */
.tm__back { align-self: flex-start; margin: 0 0 clamp(14px, 1.8vw, 22px); display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 16px 0 12px; border-radius: 999px; border: 1px solid rgba(17,17,16,.12); background: #fff; color: var(--ink-soft); font: inherit; font-size: 13.5px; font-weight: 500; cursor: pointer; transition: background .2s, color .2s; }
.tm__back svg { width: 15px; height: 15px; }
.tm__back:hover { background: var(--ink); color: #fff; border-color: var(--ink); }

/* offer view is compact so it holds the same one-screen frame as the slides */
.tm__final .ofr__head h2 { font-size: clamp(24px, 2.6vw, 38px); margin-bottom: 10px; }
.tm__final .ofr__sub { font-size: 15px; margin-bottom: 20px; }
.tm__final .ofr__list { gap: 9px; margin-bottom: 18px; }
.tm__final .ofr__list li { font-size: 15px; }
.tm__final .ofr__cta { margin-bottom: 0; }
.tm__final .ofr__foot { margin-top: 18px; padding-top: 16px; font-size: 14px; }
.tm__final .ofr__price { padding: 18px 20px 16px; }
.tm__final .ofr__price-big { font-size: clamp(32px, 3vw, 44px); }
/* redeem + getting-started, revealed by "Redeem Offer Now" */
.tm__redeem { width: 100vw; margin-left: calc(50% - 50vw); padding: clamp(30px, 5vw, 70px) clamp(16px, 4vw, 60px) clamp(20px, 3vw, 40px); border-top: 0; }
.tm__final .ofr__note--out { margin-bottom: clamp(16px, 2vw, 24px); }
.tm__redeem[hidden] { display: none; }

/* mini offer sits in a white voucher cutout, same language as .ofr__price */
.tm__offer { justify-content: flex-start; padding-top: clamp(28px, 3.2vw, 44px); }
.tm__offer h2 { font-size: clamp(26px, 2.5vw, 36px); line-height: 1.08; margin: 0 0 clamp(18px, 2.2vw, 26px); max-width: 18ch; }
.tm__cut { position: relative; background: #fff; border: 1px dashed rgba(17,17,16,.22); border-radius: 18px; padding: 20px 22px 22px; box-shadow: 0 1px 2px rgba(17,17,16,.03); }
.tm__cut::before, .tm__cut::after { content: ""; position: absolute; top: 50%; width: 22px; height: 22px; border-radius: 50%; background: #f5f4f0; border: 1px dashed rgba(17,17,16,.22); transform: translateY(-50%); }
.tm__cut::before { left: -12px; clip-path: inset(0 0 0 50%); }
.tm__cut::after { right: -12px; clip-path: inset(0 50% 0 0); }
.tm__cut-lbl { font-family: var(--font-mono); font-size: 11px; letter-spacing: .01em; text-transform: none; color: var(--ink-mute); margin: 0 0 14px; }
.tm__cut .tm__offer-list { margin: 0 0 18px; }
.tm__cut-cta { width: 100%; justify-content: center; height: 50px; padding: 0 20px; font-size: 15px; }
.tm__offer-ticks { margin-top: clamp(20px, 3vw, 34px); }
