/* /leads/ only. A search that turns into a tracked lead, and a switch that shows
   why tracking matters. Uses the site tokens; the search window and the phone are
   light because they stand for other people's screens. */

/* ---------- opening ---------- */
.lh { padding-top: 112px; }
.lh-grid { display: grid; gap: 20px; align-items: end; }
.lh-kicker { font-family: var(--mono); font-size: 0.82rem; letter-spacing: 0.04em; color: var(--accent); margin-bottom: 14px; }
:lang(he) .lh-kicker { font-family: var(--font); letter-spacing: 0; font-size: 0.95rem; font-weight: 600; }
.lh-side .lead { margin: 0; font-size: 1.12rem; max-width: 50ch; }
.lh-side .cta-row { margin-top: 18px; }
@media (min-width: 1020px) {
  .lh { padding-top: 132px; }
  .lh-grid { grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.9fr); gap: 56px; }
}

/* ---------- the sentence ---------- */
.run { padding-top: 56px; padding-bottom: 24px; }
.run-title { font-size: 0.98rem; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.ml { margin-top: 6px; font-size: clamp(1.2rem, 0.7vw + 1rem, 1.55rem); line-height: 1.45; font-weight: 600; letter-spacing: var(--track); }
.ml-sep { display: inline-block; white-space: nowrap; }
:lang(en) .ml-sep > span:first-child { margin-inline-end: 0.26em; }
/* The word is a styled label over a transparent select, so the open list keeps a normal size. */
.ml-pick { position: relative; display: inline-block; }
.ml-val { display: inline-block; padding-inline-end: 1.05em; border-bottom: 2px solid var(--accent); color: var(--accent); }
.ml-pick::after {
  content: ""; position: absolute; top: 50%; inset-inline-end: 3px; width: 0.34em; height: 0.34em; margin-top: -0.28em;
  border-right: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(45deg); pointer-events: none;
}
.ml select { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; font-size: 16px; font-weight: 400; cursor: pointer; }
.ml-pick:has(select:focus-visible) .ml-val { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 4px; }

/* ---------- steps on small screens ---------- */
.stepper { display: none; list-style: none; gap: 6px; margin-top: 22px; }
.run.is-live .stepper { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.stepper button {
  display: flex; align-items: center; justify-content: center; gap: 7px; width: 100%; min-height: 44px; padding: 6px;
  border: 0; border-bottom: 2px solid var(--line-2); background: none; color: var(--faint); font: inherit; font-size: 0.9rem; white-space: nowrap; cursor: pointer;
}
.stepper i { font-style: normal; font-family: var(--mono); font-size: 0.8rem; }
.stepper button[aria-current] { border-color: var(--accent); color: var(--text); font-weight: 600; }

/* ---------- stage ---------- */
.stage { display: grid; gap: 28px; margin-top: 22px; }
.run.is-live .frame:not(.is-on) { display: none; }
.link { display: none; }
.frame { min-width: 0; }
.cap { margin-top: 14px; }
.cap h3 { display: flex; gap: 8px; align-items: baseline; font-size: 1.08rem; }
.cap h3 i { font-style: normal; font-family: var(--mono); font-size: 0.82rem; color: var(--accent); }
.cap p { margin-top: 4px; font-size: 0.95rem; line-height: 1.5; color: var(--muted); max-width: 44ch; }

.win { height: 400px; overflow: hidden; border-radius: var(--r-frame); background: #fff; color: #1b1b1e; box-shadow: var(--shadow); }
.win-bar { display: flex; align-items: center; gap: 6px; height: 34px; padding-inline: 14px; background: #eeebe9; }
.win-bar i { width: 9px; height: 9px; border-radius: 50%; background: #cfc9c6; }
.serp { padding: 16px 18px; }
.serp-q { display: flex; align-items: center; min-height: 42px; padding-inline: 16px; border: 1px solid #dcd7d4; border-radius: 22px; font-size: 1rem; }
.caret { width: 2px; height: 1.1em; margin-inline-start: 2px; background: #1b1b1e; }
.ad {
  display: block; width: 100%; margin-top: 16px; padding: 12px; border: 1px solid transparent; border-radius: 12px;
  background: none; color: inherit; font: inherit; text-align: start; cursor: pointer;
  transition: opacity 0.35s, visibility 0.35s, transform 0.2s var(--ease), border-color 0.2s, background-color 0.2s;
}
.ad:hover { background: #f7f4f2; border-color: #e6e0dd; }
.run.is-live .ad:not(.is-shown) { opacity: 0; visibility: hidden; }
.ad.is-press, .lp-btn.is-press { transform: scale(0.97); outline: 2px solid #d9836f; outline-offset: 2px; }
.ad-by { display: block; font-size: 0.84rem; color: #5d5754; }
.ad-by b { font-weight: 700; color: #1b1b1e; margin-inline-end: 6px; }
.ad-title { display: block; margin-top: 3px; font-size: 1.12rem; line-height: 1.3; font-weight: 500; color: #1a4fb4; text-decoration: underline; text-decoration-color: transparent; }
.ad:hover .ad-title { text-decoration-color: currentColor; }
.ad-text { display: block; margin-top: 3px; font-size: 0.92rem; line-height: 1.45; color: #4b4643; }
.ad-cue { display: none; margin-top: 8px; font-size: 0.86rem; font-weight: 700; color: #a4432f; }
.run.is-live[data-step="0"]:not(.is-auto) .ad-cue { display: block; }
.serp-skel { display: grid; gap: 9px; margin-top: 18px; padding-inline: 12px; }
.serp-skel i { display: block; height: 10px; border-radius: 3px; background: #efebe9; }
.serp-skel i:nth-child(1) { width: 62%; background: #e4e0dd; }
.serp-skel i:nth-child(2) { width: 92%; }
.serp-skel i:nth-child(3) { width: 80%; }
.serp-skel i:nth-child(4) { width: 46%; margin-top: 12px; background: #e4e0dd; }

.lp-phone {
  position: relative; height: 400px; width: min(100%, 290px); margin-inline: auto; padding: 10px; overflow: hidden;
  border-radius: 32px; background: #1a1716; box-shadow: var(--shadow), 0 0 0 1px var(--line-2);
}
.lp-wait { display: none; }
.run.is-live[data-step="0"] .lp-wait { display: grid; place-items: center; height: 100%; padding: 24px; text-align: center; font-size: 0.95rem; color: var(--faint); }
.run.is-live[data-step="0"] .lp { display: none; }
.lp { height: 100%; padding: 16px 14px; overflow-y: auto; border-radius: 23px; background: #fff; color: #1b1b1e; }
.win :focus-visible, .lp :focus-visible { outline-color: #a4432f; }
.lp-biz { font-size: 0.8rem; color: #5d5754; }
.lp-title { margin-top: 6px; font-size: 1.32rem; line-height: 1.2; font-weight: 700; }
.lp-check { display: flex; align-items: center; gap: 4px; margin-top: 6px; font-size: 0.8rem; font-weight: 600; color: #a4432f; }
.lp-text { margin-top: 6px; font-size: 0.86rem; line-height: 1.4; color: #4b4643; }
.lp-label { margin-top: 12px; font-size: 0.8rem; font-weight: 700; }
.lp-btn {
  display: flex; align-items: center; justify-content: center; gap: 6px; width: 100%; min-height: 44px; margin-top: 7px; padding: 6px 10px;
  border: 1px solid #1b1b1e; border-radius: 10px; background: #fff; color: #1b1b1e; font: inherit; font-size: 0.92rem; font-weight: 600; cursor: pointer;
  transition: transform 0.2s var(--ease);
}
.lp-btn:active { transform: scale(0.98); }
.lp-call { background: #1b1b1e; color: #fff; }
.lp-wa { background: #137a43; border-color: #137a43; color: #fff; }

.rep {
  display: flex; flex-direction: column; height: 400px; padding: 18px 20px; overflow: hidden; border: 1px solid var(--line-2);
  border-radius: var(--r-frame); background: var(--card);
}
.rep-title { font-weight: 600; }
.rep-empty { margin-top: 12px; font-size: 0.95rem; line-height: 1.5; color: var(--faint); }
.rep-rows { list-style: none; margin-top: 8px; }
.rep-row { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 0 12px; padding: 9px 0; border-top: 1px solid var(--line); }
.rep-row time { grid-row: span 2; font-family: var(--mono); font-size: 0.84rem; color: var(--accent); line-height: 1.7; }
.rep-row b { font-weight: 600; font-size: 0.98rem; line-height: 1.35; }
.rep-row span { font-size: 0.86rem; color: var(--muted); }
.rep-counts { display: flex; gap: 16px; margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line-2); font-size: 0.88rem; color: var(--muted); }
.rep-counts b { font-family: var(--mono); color: var(--text); margin-inline-start: 3px; }
.rep-done { margin-top: 10px; font-size: 0.88rem; line-height: 1.45; }
.rep-done[hidden], .rep-empty[hidden] { display: none; }
.rep-done span { display: block; color: var(--muted); }
.run-note { margin-top: 18px; font-size: 0.88rem; color: var(--faint); }

@media (prefers-reduced-motion: no-preference) {
  .caret { animation: blink 1s steps(2, start) infinite; }
  .rep-row:first-child { animation: printed 0.5s var(--ease); }
  .run.is-live[data-step="0"]:not(.is-auto) .ad.is-shown { animation: nudge 2.2s var(--ease) infinite; }
}
@keyframes blink { to { visibility: hidden; } }
@keyframes printed { from { opacity: 0; transform: translateY(-8px); } }
@keyframes nudge { 0%, 100% { border-color: transparent; } 50% { border-color: #d9836f; } }

@media (min-width: 1020px) {
  .run { padding-top: 72px; }
  .run.is-live .stepper { display: none; }
  .stage { grid-template-columns: minmax(0, 1.2fr) 46px minmax(0, 0.8fr) 46px minmax(0, 1.05fr); gap: 0; margin-top: 30px; }
  .run.is-live .frame:not(.is-on) { display: block; }
  .run.is-live .frame { transition: opacity 0.4s; }
  .run.is-live:not([data-step="2"]) .frame:not(.is-on) .win, .run.is-live:not([data-step="2"]) .frame:not(.is-on) .lp-phone, .run.is-live:not([data-step="2"]) .frame:not(.is-on) .rep { opacity: 0.8; }
  .win, .lp-phone, .rep { transition: opacity 0.4s; }
  .link { display: block; position: relative; height: 2px; margin-top: 200px; background-image: linear-gradient(90deg, var(--line-2) 50%, transparent 0); background-size: 10px 2px; }
  .link i { position: absolute; top: -4px; inset-inline-start: 0; width: 10px; height: 10px; border-radius: 50%; background: var(--accent); opacity: 0; }
  .link.is-go i { animation: shoot 0.7s var(--ease) both; }
}
@keyframes shoot {
  0% { inset-inline-start: 0; opacity: 1; }
  85% { opacity: 1; }
  100% { inset-inline-start: calc(100% - 10px); opacity: 0; }
}

/* ---------- the switch ---------- */
.blind { padding-top: 88px; }
.blind-grid { display: grid; gap: 28px; }
.blind h2 { font-size: clamp(1.6rem, 0.9vw + 1.2rem, 2.1rem); line-height: 1.18; letter-spacing: -0.015em; }
.blind-copy p { margin-top: 12px; font-size: 1.1rem; color: var(--muted); max-width: 44ch; }
.tgl {
  display: inline-flex; align-items: center; gap: 12px; min-height: 52px; margin-top: 22px; padding: 6px 16px;
  border: 1px solid var(--line-2); border-radius: var(--r-btn); background: var(--card); color: var(--text); font: inherit; font-weight: 600; cursor: pointer;
}
.tgl i { position: relative; width: 46px; height: 26px; border-radius: 13px; background: var(--line-2); transition: background-color 0.25s; }
.tgl i::after { content: ""; position: absolute; top: 3px; inset-inline-start: 3px; width: 20px; height: 20px; border-radius: 50%; background: var(--text); transition: inset-inline-start 0.3s var(--ease); }
.tgl[aria-checked="true"] i { background: var(--accent); }
.tgl[aria-checked="true"] i::after { inset-inline-start: 23px; background: var(--on-accent); }
.tgl b { min-width: 3.5em; font-weight: 600; color: var(--muted); }

.led table { width: 100%; border-collapse: collapse; table-layout: fixed; }
.led th { padding: 0 8px 10px; font-size: 0.85rem; font-weight: 500; color: var(--faint); text-align: start; border-bottom: 1px solid var(--line-2); }
.led td { padding: 11px 8px; font-size: 0.97rem; line-height: 1.35; border-bottom: 1px solid var(--line); vertical-align: top; }
.led th:first-child, .led td:first-child { width: 42%; padding-inline-start: 12px; }
.led tr td:first-child { position: relative; }
.led td:first-child::before { content: ""; position: absolute; top: 0; bottom: 0; inset-inline-start: 0; width: 3px; opacity: 0; transition: opacity 0.4s; }
.led-u { color: var(--faint); }
.led-v b { font-weight: 600; }
.led-v { color: var(--muted); }
.blind.is-live .led-v { display: none; }
.blind.is-live.is-on .led-v { display: inline; }
.blind.is-live.is-on .led-u, .blind:not(.is-live) .led-u { display: none; }
.blind.is-on .led td:first-child::before, .blind:not(.is-live) .led td:first-child::before { opacity: 1; }
.led .k-a td:first-child::before, .verdict .k-a::before { background: var(--accent); }
.led .k-b td:first-child::before, .verdict .k-b::before { background: #a59b97; }
.led .k-c td:first-child::before, .verdict .k-c::before { background: #5c5350; }
.led-mock { margin-top: 10px; font-size: 0.86rem; color: var(--faint); }

.verdict { display: grid; }
.verdict > * { grid-area: 1 / 1; transition: opacity 0.4s; }
.v-off { font-size: 1.22rem; line-height: 1.5; max-width: 40ch; }
.v-on h3 { font-size: 1.22rem; }
.v-on ul { list-style: none; margin-top: 10px; }
.v-on li { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0 14px; padding: 10px 0; padding-inline-start: 14px; border-top: 1px solid var(--line); }
.v-on li::before { content: ""; position: absolute; top: 12px; bottom: 12px; inset-inline-start: 0; width: 3px; }
.v-on li span { font-weight: 500; line-height: 1.35; }
.v-on li small { grid-row: 2; font-size: 0.9rem; color: var(--muted); }
.v-on li b { grid-row: span 2; grid-column: 2; grid-row-start: 1; align-self: center; font-weight: 700; }
.v-on .k-a b { color: var(--accent); }
.blind.is-live:not(.is-on) .v-on { opacity: 0; visibility: hidden; }
.blind.is-on .v-off, .blind:not(.is-live) .v-off { opacity: 0; visibility: hidden; }
@media (min-width: 1020px) {
  .blind-grid { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); column-gap: 64px; row-gap: 12px; }
  .blind-copy { grid-row: span 2; position: sticky; top: 104px; align-self: start; }
  .verdict { grid-column: 2; margin-top: 16px; }
}

/* ---------- the real one ---------- */
.real h2 { font-size: clamp(1.6rem, 0.9vw + 1.2rem, 2.1rem); line-height: 1.18; letter-spacing: -0.015em; }
.real-grid { display: grid; gap: 22px; margin-top: 26px; }
.shot { margin: 0; min-width: 0; }
.shot .win-bar { border-radius: var(--r-frame) var(--r-frame) 0 0; background: #e9e6e4; color: #4b4643; font-size: 0.8rem; }
.shot .win-bar span { margin-inline-start: 10px; }
.shot-img { position: relative; overflow: hidden; border-radius: 0 0 var(--r-frame) var(--r-frame); }
.shot-img img { width: 100%; }
.shot figcaption { margin-top: 8px; font-size: 0.86rem; color: var(--faint); }
.pin {
  position: absolute; display: grid; place-items: center; width: 28px; height: 28px; margin: -14px 0 0 -14px; border-radius: 50%;
  background: var(--accent); color: var(--on-accent); font-size: 0.86rem; font-weight: 700; box-shadow: 0 0 0 4px rgb(10 10 11 / 0.42);
}
.pin-1 { left: 47.5%; top: 31%; }
.pin-2 { left: 47%; top: 84%; }
.pin-3 { left: 70%; top: 56%; }
.real-text { font-size: 1.08rem; line-height: 1.6; color: var(--muted); }
.pins { list-style: none; counter-reset: pin; margin-top: 16px; }
.pins li { counter-increment: pin; position: relative; padding: 10px 0; padding-inline-start: 36px; border-top: 1px solid var(--line); line-height: 1.45; }
.pins li::before {
  content: counter(pin); position: absolute; top: 10px; inset-inline-start: 0; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%;
  background: var(--accent); color: var(--on-accent); font-size: 0.8rem; font-weight: 700;
}
.real-quote { margin: 44px 0 0; max-width: 30em; }
.real-quote blockquote { margin: 0; font-size: clamp(1.15rem, 0.5vw + 1rem, 1.4rem); line-height: 1.45; font-weight: 500; letter-spacing: var(--track); }
.real-quote figcaption { margin-top: 12px; color: var(--muted); }
.real-quote figcaption b { font-weight: 600; color: var(--text); margin-inline-end: 10px; }
.real-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.line-more { margin-top: 28px; color: var(--muted); }
.line-more a { color: var(--accent); text-underline-offset: 3px; }
@media (min-width: 960px) {
  .real-grid { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 48px; }
  .real-quote { margin-inline-start: auto; }
}

@media (prefers-reduced-motion: reduce) {
  .ad, .lp-btn, .frame, .win, .lp-phone, .rep, .tgl i, .tgl i::after, .verdict > * { transition: none; }
  .link.is-go i { animation: none; }
}
