/* rainer.co.il: the tool pages (/talk-to-your-customer/, /offer-score/, /copy-check/). Each one is a DR System
   tool on a page of its own: the same embed as the homepage park (/tools/<id>/), framed and sized the same way.
   Loads after site.css and only adds to it. */

.tp { padding-top: clamp(96px, 10vw, 136px); }

/* ---------- hero: the idea on the right, the tool on the left (stacked on a phone, the tool right after) ---------- */
.tp-hero { display: grid; gap: clamp(24px, 3vw, 44px); align-items: start; }
.tp-copy { display: flex; flex-direction: column; gap: 18px; min-width: 0; animation: up .6s var(--ease) both; }
.tp-copy .label { margin: 0; }
.tp-copy .label bdi { white-space: nowrap; }
.tp-copy h1 { font-size: clamp(2.6rem, 1.3rem + 3.1vw, 4.5rem); line-height: 1; }
.tp-lead { max-width: 34em; color: var(--dim); font-size: clamp(1.1rem, 1rem + .4vw, 1.35rem); line-height: 1.55; text-wrap: pretty; }
.tp-note { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 15.5px; line-height: 1.45; }
.tp-note::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--grow); box-shadow: 0 0 0 4px rgba(184, 242, 94, .14); }
.tp-tool { min-width: 0; animation: up .7s .08s var(--ease) both; }
.tp-tool .tool-frame { transition: height .25s var(--ease); }
@media (min-width: 1000px) {
  .tp-hero { grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); }
  .tp-copy { position: sticky; top: 104px; padding-top: 6px; }
}

/* ---------- sections under the tool ---------- */
.tp-sec { max-width: 860px; margin-top: clamp(64px, 8vw, 116px); }
.tp-sec.wide { max-width: 1160px; }
.tp-sec h2 { margin-bottom: 20px; font-size: clamp(2.1rem, 1.4rem + 2.4vw, 3.4rem); }
.tp-sec > p { max-width: 64ch; margin-bottom: 1em; color: var(--dim); font-size: clamp(1.05rem, 1rem + .25vw, 1.2rem); }
.tp-sec strong, .tp-sec b { color: var(--text); font-weight: 700; }
.tp-sec a:not(.btn) { color: var(--acc); text-underline-offset: 3px; }

.tp-steps { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; counter-reset: step; }
.tp-steps li { counter-increment: step; padding: clamp(20px, 2.4vw, 28px); border: 1px solid var(--line-2); border-radius: 18px; background: var(--panel); }
.tp-steps li::before { content: "0" counter(step); display: block; margin-bottom: 14px; font: 700 14px/1 var(--mono); color: var(--acc); }
.tp-steps b { display: block; margin-bottom: 8px; font-stretch: 75%; font-weight: 800; font-size: clamp(1.3rem, 1.15rem + .5vw, 1.6rem); line-height: 1.12; }
.tp-steps p { margin: 0; color: var(--dim); font-size: 1rem; line-height: 1.55; }
@media (min-width: 860px) { .tp-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.tp-dr { max-width: 980px; padding: clamp(24px, 3.6vw, 44px); border-radius: 20px; border: 1px solid rgba(116, 199, 255, .28); background: linear-gradient(160deg, rgba(116, 199, 255, .08), var(--panel) 60%); }
.tp-dr .label { margin-bottom: 12px; }
.tp-dr bdi { white-space: nowrap; }
.tp-dr ul { display: grid; gap: 12px; margin: 0 0 28px; padding: 0; list-style: none; }
.tp-dr li { position: relative; padding-inline-start: 24px; color: var(--dim); font-size: clamp(1.02rem, 1rem + .2vw, 1.15rem); line-height: 1.55; }
.tp-dr li::before { content: ""; position: absolute; inset-inline-start: 5px; top: .45em; width: 2px; height: 15px; border-radius: 2px; background: var(--acc); transform: rotate(-32deg); }
.tp-dr .btn { color: var(--text); }

.tp-sec .faq { max-width: none; }

.tp-more { display: grid; gap: 12px; }
.tp-more a { display: flex; flex-direction: column; gap: 4px; padding: 18px 22px; border: 1px solid var(--line-2); border-radius: 16px; background: var(--bg-2); text-decoration: none; transition: border-color .2s; }
.tp-more b { font-stretch: 75%; font-weight: 800; font-size: 1.35rem; line-height: 1.15; }
.tp-more small { color: var(--muted); font-size: 15.5px; }
.tp-more .arr { color: var(--acc); }
@media (hover: hover) { .tp-more a:hover { border-color: var(--acc); } }
@media (min-width: 700px) { .tp-more { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.tp .final { margin-top: clamp(64px, 8vw, 116px); }
@media (max-width: 620px) { .tp .final .btn.big { flex: 1 1 100%; } }
