/* ==========================================================================
   WhoOwl — /track acquisition funnel. Loaded AFTER start.css and reuses its
   tokens (paper / ink / owl-yellow / night-navy, Outfit + Inter + Fraunces).
   Only the funnel's own parts live here. Mobile-first: the link field and the
   CTA must sit in the first screen of a 375×667 phone.
   ========================================================================== */
.trk .hidden { display: none !important; }
.trk .hdr-btns { flex-direction: row; align-items: center; }

/* ---------- hero: tighter than /start so the form is above the fold ---------- */
.trk-hero { padding-block: 14px 26px; text-align: center; }
/* Bigger on Doron's request (19/9): this is the page's "it's free" promise, not a footnote. */
.trk-hero .pill { font-size: 1.02rem; padding: 9px 20px; gap: 10px; font-weight: 700; }
.trk-hero .pill .dot { width: 11px; height: 11px; box-shadow: 0 0 0 5px rgba(21, 168, 92, .18); }
@media (min-width: 640px) { .trk-hero .pill { font-size: 1.15rem; padding: 10px 24px; } }
.trk-hero .h1 { font-size: clamp(2.35rem, 11vw, 4.2rem); margin: 14px 0 10px; line-height: 1; }
.trk-hero .lead { font-size: clamp(.98rem, 3.9vw, 1.2rem); margin: 0 auto 18px; max-width: 30em; line-height: 1.45; }

/* ---------- the funnel card ---------- */
.funnel { padding: 14px 14px 16px; position: relative; text-align: start; }
.funnel .btn { margin-top: 12px; }
.cta-main { letter-spacing: .02em; font-weight: 800; font-size: 1.02rem; }
.funnel .field input { height: 56px; font-size: 16px; } /* 16px: no iOS zoom-on-focus */
.funnel .field.sm input { height: 50px; font-size: 16px; }
.funnel .err { margin-top: 10px; }
.funnel .err:empty { display: none; }

.stepper { list-style: none; display: flex; gap: 6px; margin: 0 0 12px; padding: 0; font-size: .74rem; font-weight: 700; color: var(--ink-3); }
.stepper li { flex: 1; display: flex; align-items: center; gap: 6px; padding-bottom: 8px; border-bottom: 3px solid var(--line); transition: border-color .25s, color .25s; }
.stepper .sn { width: 18px; height: 18px; border-radius: 50%; background: var(--line); color: var(--ink-2); display: inline-flex; align-items: center; justify-content: center; font-size: .68rem; transition: background .25s, color .25s; }
.stepper li.on { color: var(--ink); border-bottom-color: var(--yellow); }
.stepper li.on .sn { background: var(--navy); color: var(--yellow); }
.stepper li.done { color: var(--green); border-bottom-color: var(--green); }
.stepper li.done .sn { background: var(--green); color: #fff; }

.trust-line { display: flex; align-items: center; justify-content: center; gap: 7px; margin: 12px 0 0; font-size: .86rem; font-weight: 600; color: var(--ink-2); }
.trust-line svg { color: var(--green); flex: 0 0 auto; }
.trust-line.alt { margin-top: 4px; font-weight: 500; color: var(--ink-3); }
.trust-line.alt svg { color: var(--ink-3); }

.step-pane { animation: trk-in .28s cubic-bezier(.2, .8, .2, 1) both; }
@keyframes trk-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .step-pane { animation: none; } }
html.a11y-noanim .step-pane { animation: none; }

/* ---------- recognised product ---------- */
.trk-prod { align-items: flex-start; position: relative; margin-bottom: 14px; }
.trk-prod .pi { width: 72px; height: 72px; }
.trk-prod-b { min-width: 0; flex: 1; padding-inline-end: 52px; }
.trk-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 8px; margin-top: 3px; direction: ltr; justify-content: flex-start; }
html[dir="rtl"] .trk-price { justify-content: flex-end; }
.trk-prod .pp { font-size: 1.15rem; margin: 0; }
.trk-prod .was { font-size: .82rem; color: var(--ink-3); text-decoration: line-through; }
.trk-prod .off { font-size: .72rem; font-weight: 800; color: #fff; background: var(--red); border-radius: 6px; padding: 1px 6px; }
.trk-prod .off:empty, .trk-prod .was:empty { display: none; }
.p-note { font-size: .74rem; color: var(--ink-3); line-height: 1.35; margin-top: 3px; }
.p-note:empty { display: none; }
.p-change { position: absolute; top: 8px; inset-inline-end: 8px; border: 0; background: #fff; color: var(--ink-2); border-radius: 8px; padding: 5px 9px; font-size: .74rem; font-weight: 700; cursor: pointer; border: 1px solid var(--line); }
.trk-prod.pending .pi { animation: pulse 1.2s ease-in-out infinite; }

/* ---------- questions ---------- */
.q { font-family: var(--font-title); font-size: 1.18rem; font-weight: 800; letter-spacing: -.01em; margin: 2px 0 10px; color: var(--ink); }
.rules { display: flex; flex-direction: column; gap: 8px; }
.rule { display: flex; align-items: center; gap: 12px; width: 100%; text-align: start; background: #fff; border: 1.5px solid var(--line); border-radius: 14px; padding: 12px 14px; cursor: pointer; color: var(--ink); transition: border-color .15s, background .15s, box-shadow .15s; min-height: 58px; }
.rule:hover { border-color: #C9CEE4; }
.rule.on { border-color: var(--navy); background: #F7F8FD; box-shadow: 0 0 0 3px rgba(20, 26, 60, .07); }
.rule:disabled { opacity: .45; cursor: not-allowed; }
.rule:focus-visible, .chan-b:focus-visible, .more-b:focus-visible { outline: 3px solid var(--navy); outline-offset: 2px; }
.rdot { flex: 0 0 auto; width: 20px; height: 20px; border-radius: 50%; border: 2px solid #C9CEE4; display: inline-block; position: relative; transition: border-color .15s; }
.rule.on .rdot { border-color: var(--navy); }
.rule.on .rdot::after { content: ''; position: absolute; inset: 3px; border-radius: 50%; background: var(--yellow); box-shadow: inset 0 0 0 1.5px var(--navy); }
.rb { display: flex; flex-direction: column; min-width: 0; }
.rb b { font-size: .98rem; font-weight: 700; }
.rb small { font-size: .78rem; color: var(--ink-3); }
.rb small:empty { display: none; }
.rule-x { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; padding: 2px 2px 4px; }
.rule-x .chips { flex: 1 1 auto; }
.rule-x .chip { padding: 8px 12px; min-height: 40px; }
.field.mini { flex: 0 0 104px; padding: 0 12px; }
.field.mini input { text-align: center; direction: ltr; }
.unit { color: var(--ink-3); font-weight: 700; }

/* ---------- contact ---------- */
.chan2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.chan-b { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; min-height: 84px; background: #fff; border: 1.5px solid var(--line); border-radius: 16px; font-weight: 700; font-size: .98rem; color: var(--ink); cursor: pointer; transition: border-color .15s, background .15s, transform .12s, box-shadow .15s; }
.chan-b:active { transform: scale(.985); }
.chan-b svg { color: var(--ink-2); }
.chan-b[data-c="whatsapp"] svg { color: #128C4A; }
.chan-b.on { border-color: var(--navy); background: #F7F8FD; box-shadow: 0 0 0 3px rgba(20, 26, 60, .07); }
.funnel .lbl-s { margin-top: 14px; }
.funnel .chk { font-size: .8rem; line-height: 1.45; }
.funnel .chk input { width: 20px; height: 20px; flex: 0 0 auto; margin-top: 1px; }
.known { background: var(--green-bg); color: var(--green); font-weight: 600; font-size: .88rem; border-radius: 12px; padding: 10px 12px; margin: 12px 0 0; }
.back { display: block; margin: 12px auto 0; background: none; border: 0; color: var(--ink-3); font-size: .82rem; font-weight: 600; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; padding: 6px; }
#phone, #email, #acc-email, #url, #pct, #amt, #cc { direction: ltr; text-align: left; }
.code-in { letter-spacing: .4em; text-align: center; font-weight: 800; font-size: 1.15rem; direction: ltr; }

/* ---------- active + what comes after ---------- */
.trk-ok { padding: 8px 4px 4px; }
.trk-ok .ic { animation: trk-pop .45s cubic-bezier(.2, 1.4, .4, 1) both; }
@keyframes trk-pop { from { transform: scale(.6); opacity: 0; } to { transform: none; opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .trk-ok .ic { animation: none; } }
.trk-ok h2 { font-family: var(--font-title); font-size: 1.32rem; line-height: 1.2; margin: 0 0 6px; letter-spacing: -.01em; }
.trk-ok p { margin: 0 0 6px; font-size: .9rem; color: var(--ink-2); }
.verify { background: #FFFDF2; border: 1px solid #FFE4A0; border-radius: 14px; padding: 14px; margin-top: 12px; }
.verify h3 { margin: 0 0 4px; font-family: var(--font-title); font-size: 1rem; }
.verify p { margin: 0; font-size: .86rem; color: var(--ink-2); }
.verify .good { color: var(--green); font-weight: 700; }
#v-wa-ok { background: var(--green-bg); border-color: transparent; }
.code-row { display: grid; grid-template-columns: 1fr auto; gap: 8px; margin-top: 10px; align-items: center; }
.code-row .btn { margin-top: 0; height: 50px; width: auto; padding: 0 20px; }
.after { border-top: 1px solid var(--line); margin-top: 16px; padding-top: 14px; }
.after h3 { font-family: var(--font-title); font-size: 1.05rem; margin: 0 0 10px; text-align: center; }
.after .btn { margin-top: 8px; }
.after .muted-c { margin-top: 8px; }
.more { display: grid; gap: 8px; margin-top: 14px; }
.more-b { display: flex; align-items: center; gap: 10px; width: 100%; background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; font-weight: 600; font-size: .9rem; color: var(--ink); text-decoration: none; cursor: pointer; text-align: start; transition: background .15s, border-color .15s; min-height: 48px; }
.more-b:hover { background: #fff; border-color: #C9CEE4; }
.more-b.desk { display: none; }
@media (hover: hover) and (pointer: fine) { .more-b.desk { display: flex; } }
.share-tip { font-size: .76rem; color: var(--ink-3); text-align: center; margin: 12px 0 0; }
@media (hover: hover) and (pointer: fine) { .share-tip { display: none; } }

/* ---------- contact, second pass (19/9): both channels, country select, known contacts ---------- */
.chan-b { position: relative; }
.chan-b .tick { position: absolute; top: 8px; inset-inline-end: 8px; width: 20px; height: 20px; border-radius: 6px; border: 2px solid #C9CEE4; background: #fff; transition: background .15s, border-color .15s; }
.chan-b.on .tick { background: var(--navy); border-color: var(--navy); }
.chan-b.on .tick::after { content: ''; position: absolute; left: 5px; top: 1px; width: 5px; height: 10px; border: solid var(--yellow); border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); }
.chan-hint { margin: 8px 0 0; font-size: .78rem; color: var(--ink-3); text-align: center; }
.phone-row { display: grid; grid-template-columns: minmax(0, 46%) minmax(0, 1fr); gap: 8px; direction: ltr; }
.cc-field { padding: 0 6px 0 10px; }
.cc-field select { width: 100%; height: 50px; border: 0; outline: 0; background: transparent; font: inherit; font-size: 16px; color: var(--ink); text-overflow: ellipsis; cursor: pointer; }
.field-note { margin: 6px 2px 0; font-size: .78rem; color: var(--ink-3); direction: ltr; text-align: left; min-height: 1.1em; }
html[dir="rtl"] .field-note { text-align: right; }
#known-box { margin-top: 14px; }
#known-box .back { display: inline-block; margin: 10px 8px 0 0; }

/* ---------- footer: partner programme, highlighted (Doron 19/9) ---------- */
.trk .ftr .ftr-partners { display: flex; align-items: center; justify-content: center; width: fit-content; max-width: 100%; margin: 0 auto 18px; padding: 13px 22px; border-radius: 18px; text-align: center; line-height: 1.35; background: var(--navy); color: var(--yellow); font-weight: 800; font-size: .98rem; text-decoration: none; box-shadow: 0 10px 24px rgba(20, 26, 60, .22); transition: background .15s, transform .12s; }
.trk .ftr .ftr-partners:hover { background: var(--navy-2); }
.trk .ftr .ftr-partners:active { transform: translateY(1px); }
.trk .ftr .ftr-partners:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }
.trk .ftr .ftr-partners[hidden] { display: none; }

/* ---------- below the fold ---------- */
.trk .how { padding-top: 22px; }

@media (min-width: 640px) {
  .trk-hero { padding-block: 44px 36px; }
  .funnel { padding: 20px 20px 22px; }
  .trk-hero .lead { margin-bottom: 26px; }
}

/* ---------- Hebrew / RTL ---------- */
html[dir="rtl"] .trk-hero .h1 em { font-family: inherit; font-style: normal; color: var(--green); }
html[dir="rtl"] .cta-main { letter-spacing: 0; }
