/* Conversion variants of the long landing page. Loaded only by lp/<audience>-a and lp/<audience>-b.
   A: the lead form sits in the hero (one offer, two fields).
   B: a short fit questionnaire, one tap per question; name and phone are asked only at the end. */

:root { --wa: #25D366; --wa-ink: #06301A; }

body[data-variant] .l-hero { padding-top: clamp(88px, 11vh, 124px); padding-bottom: clamp(48px, 7vh, 88px); }
body[data-variant] .l-hero .display { font-size: clamp(32px, 3.7vw, 54px); }

/* ---------- hero grids ---------- */
.cro-grid-a { grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); grid-template-areas: "copy card" "extra card" "shot shot"; grid-template-rows: auto 1fr auto; align-items: start; }
.cro-grid-b { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-areas: "copy card" "shot card"; grid-template-rows: auto 1fr; align-items: start; }
.cro-grid-a > .l-hero-copy, .cro-grid-b > .l-hero-copy { grid-area: copy; }
.cro-grid-a > .cro-card, .cro-grid-b > .cro-card { grid-area: card; }
.cro-grid-a > .l-hero-shot, .cro-grid-b > .l-hero-shot { grid-area: shot; }
.cro-grid-a > .cro-extra { grid-area: extra; }
.cro-grid-a > .l-hero-shot { margin-inline: auto; width: 100%; max-width: 1000px; }
.cro-grid-b > .l-hero-shot { margin-inline-end: 0; margin-top: 12px; }
@media (min-width: 901px) { .cro-grid-a { row-gap: 0; } .cro-grid-a > .l-hero-shot { margin-top: 40px; } }

/* ---------- the card that holds the form ---------- */
.cro-card { position: relative; z-index: 2; border: 1.5px solid var(--line); scroll-margin-top: 84px; }
.cro-card h2 { font: 700 clamp(21px, 2vw, 27px)/1.2 var(--font-head); text-wrap: balance; }
.cro-card h2:focus { outline: none; }
.cro-card .cro-sub { margin-top: 6px; font-size: 15.5px; line-height: 1.5; color: var(--text-muted); }
.cro-card .l-form { margin-top: 16px; }
.cro-card .l-choice { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); border: 0; padding: 0; margin: 0; }
.cro-fine { font-size: 13px; line-height: 1.5; color: var(--text-muted); text-align: center; }
.cro-alt { font-size: 14.5px; color: var(--text-muted); text-align: center; }
.cro-alt button, .cro-back { border: 0; background: none; padding: 4px 2px; font: 600 14.5px/1.3 var(--font-body); color: var(--text); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.cro-alt button:hover, .cro-back:hover { color: var(--accent-ink); }

/* what happens after the details are sent */
.cro-next { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); }
.cro-next h3 { font: 700 14px/1.3 var(--font-body); color: var(--text-muted); }
.cro-next ol { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 9px; counter-reset: nx; }
.cro-next li { counter-increment: nx; display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 10px; align-items: start; font-size: 14.5px; line-height: 1.45; }
.cro-next li::before { content: counter(nx); width: 24px; height: 24px; border-radius: 50%; background: var(--bg-alt); color: var(--text); font: 700 13px/24px var(--font-body); text-align: center; }

/* ---------- hero copy extras (variant A) ---------- */
.cro-points { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 10px; }
.cro-points li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 10px; align-items: start; font: 500 16.5px/1.45 var(--font-body); }
.cro-points svg { width: 22px; height: 22px; margin-top: 1px; fill: none; stroke: var(--accent-ink); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.cro-founder { margin-top: 24px; display: flex; align-items: center; gap: 12px; }
.cro-av { position: relative; flex: none; width: 52px; height: 52px; border-radius: 50%; overflow: hidden; background: var(--dark-bg); color: var(--dark-text); display: grid; place-items: center; font: 700 15px/1 var(--font-body); letter-spacing: 0; }
.cro-av img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cro-founder b { display: block; font: 700 16px/1.3 var(--font-body); }
.cro-founder div span { display: block; font-size: 14.5px; line-height: 1.4; color: var(--text-muted); }

/* ---------- one primary action + a quiet second path ---------- */
.l-cta2.cro-cta { gap: 10px 20px; }
.cro-link { font: 600 16px/1.3 var(--font-body); color: var(--text); text-decoration: underline; text-underline-offset: 4px; padding: 8px 2px; }
.dk .cro-link, .l-final .cro-link { color: var(--dark-text); }
.cro-link:hover { color: var(--accent-ink); } .dk .cro-link:hover { color: var(--accent-dark); }
body[data-variant] .dock-cta { flex: 1; }
html.cro-card-on .dock { transform: translateY(130%); opacity: 0; pointer-events: none; visibility: hidden; }

/* ---------- thanks: add a business link after the lead is already in ---------- */
.cro-enrich { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); display: grid; gap: 10px; }
.cro-enrich label { font: 600 15px/1.4 var(--font-body); }
.cro-enrich-row { display: flex; gap: 8px; }
.cro-enrich-row input { flex: 1; min-width: 0; height: 48px; padding: 0 14px; border: 1.5px solid var(--line); border-radius: var(--radius); background: var(--bg); color: var(--text); font: 400 16px var(--font-body); text-align: left; }
.cro-enrich-row input:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 4px color-mix(in srgb, var(--primary) 22%, transparent); }
.cro-enrich-row .btn { min-height: 48px; padding: 0 18px; }
.cro-enrich-msg { font-size: 14px; color: var(--text-muted); min-height: 1.3em; }

/* ---------- WhatsApp: the loudest thing after the main button ---------- */
.cro-contact { margin-top: 14px; display: grid; gap: 10px; }
.cro-or { display: flex; align-items: center; gap: 12px; font: 600 13.5px/1 var(--font-body); color: var(--text-muted); }
.cro-or::before, .cro-or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.btn.cro-wa { gap: 10px; min-height: 56px; background: var(--wa); color: var(--wa-ink); box-shadow: 0 14px 28px -14px color-mix(in srgb, var(--wa) 85%, transparent); font-size: 17.5px; }
.btn.cro-wa:hover { background: var(--wa); filter: brightness(1.06); box-shadow: 0 16px 30px -12px color-mix(in srgb, var(--wa) 90%, transparent); transform: translateY(-1px); }
.dk .btn.cro-wa, .l-final .btn.cro-wa { color: var(--wa-ink); box-shadow: 0 14px 28px -14px color-mix(in srgb, var(--wa) 85%, transparent); }
.cro-wa-ic { width: 24px; height: 24px; flex: none; }
.cro-wa-note { font-size: 13px; line-height: 1.45; color: var(--text-muted); text-align: center; }
.dock-wa { flex: none; width: 56px; background: var(--wa); color: var(--wa-ink); animation: waPulse 2.8s ease-out 1.2s infinite; }
.dock-wa .cro-wa-ic { width: 28px; height: 28px; }
.cro-wa-fab { position: fixed; z-index: 65; left: calc(22px + env(safe-area-inset-left, 0px)); bottom: calc(22px + env(safe-area-inset-bottom, 0px)); display: none; align-items: center; gap: 10px; min-height: 56px; padding: 0 20px 0 22px; border-radius: 99px; background: var(--wa); color: var(--wa-ink); font: 700 16px/1 var(--font-head); text-decoration: none; animation: waPulse 2.8s ease-out 1.2s infinite; }
.cro-wa-fab:hover { filter: brightness(1.06); transform: translateY(-2px); }
.cro-wa-fab .cro-wa-ic { width: 28px; height: 28px; }
@media (min-width: 901px) { .cro-wa-fab { display: inline-flex; } }
@keyframes waPulse { 0% { box-shadow: 0 10px 24px -10px rgba(6, 48, 26, .45), 0 0 0 0 rgba(37, 211, 102, .6); } 70%, 100% { box-shadow: 0 10px 24px -10px rgba(6, 48, 26, .45), 0 0 0 16px rgba(37, 211, 102, 0); } }
html.motion-off .dock-wa, html.motion-off .cro-wa-fab, html.motion-calm .dock-wa, html.motion-calm .cro-wa-fab { animation: none; box-shadow: 0 10px 24px -10px rgba(6, 48, 26, .45); }

/* ---------- variant B: the questionnaire ---------- */
.q-head { display: grid; gap: 10px; margin-bottom: 18px; }
.q-kicker { display: flex; justify-content: space-between; gap: 12px; font: 600 13.5px/1.3 var(--font-body); color: var(--text-muted); }
.q-kicker b { color: var(--text); font-weight: 700; }
.q-bar { height: 6px; border-radius: 6px; background: var(--bg-alt); overflow: hidden; }
.q-bar i { display: block; height: 100%; width: 0; border-radius: 6px; background: var(--primary); transition: width .45s var(--ease); }
.q-opts { margin-top: 16px; display: grid; gap: 10px; }
.q-opt { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 22px; align-items: center; gap: 12px; min-height: 60px; padding: 12px 16px; border: 1.5px solid var(--line); border-radius: var(--radius); background: var(--bg); color: var(--text); text-align: start; cursor: pointer; transition: border-color .2s, background-color .2s, box-shadow .2s, transform .2s; }
.q-opt b { display: block; font: 600 17px/1.3 var(--font-body); }
.q-opt small { display: block; margin-top: 2px; font-size: 13.5px; line-height: 1.35; color: var(--text-muted); }
.q-opt::after { content: ""; width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--line); background: var(--surface); transition: border-color .2s, background-color .2s, box-shadow .2s; }
.q-opt:hover { border-color: color-mix(in srgb, var(--text) 45%, var(--line)); background: var(--surface); transform: translateY(-1px); }
.q-opt[aria-pressed="true"] { border-color: var(--text); background: var(--surface); box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary) 45%, transparent); }
.q-opt[aria-pressed="true"]::after { border-color: var(--text); background: var(--text); box-shadow: inset 0 0 0 4px var(--primary); }
.q-foot { margin-top: 14px; display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 28px; }
.q-foot .cro-fine { text-align: start; }
#qFinal .cro-sub b { color: var(--text); font-weight: 700; }
#qFinal .l-form { margin-top: 12px; gap: 10px; }
#qFinal .cro-contact { margin-top: 8px; gap: 8px; }
#qFinal .form-msg:empty { display: none; }
body[data-variant="b"] .l-hero .btn-primary { animation: none; }

@media (max-width: 900px) {
  .cro-grid-a { grid-template-columns: 1fr; grid-template-areas: "copy" "card" "extra" "shot"; grid-template-rows: none; gap: 18px; }
  .cro-grid-b { grid-template-columns: 1fr; grid-template-areas: "copy" "card" "shot"; grid-template-rows: none; gap: 16px; }
  body[data-variant] .l-hero { padding-top: 72px; padding-bottom: 36px; }
  body[data-variant] .l-hero .display { font-size: clamp(26px, 7.2vw, 44px); }
  body[data-variant] .l-hero .lead { font-size: 16px; margin-top: 10px; }
  .cro-card.l-card-form { padding: 16px 14px; }
  .cro-points { margin-top: 4px; gap: 8px; } .cro-points li { font-size: 15.5px; }
  .cro-founder { margin-top: 14px; }
  .q-opt { min-height: 54px; padding: 10px 14px; } .q-opt b { font-size: 16px; }
  .q-opts { gap: 8px; margin-top: 12px; }
  .l-cta2.cro-cta { flex-direction: column; align-items: stretch; text-align: center; }
  html.exp-quick .l-cta2.cro-cta { flex-wrap: wrap; } html.exp-quick .l-cta2.cro-cta .btn-lg { flex: none; }
}

.cro-opt { font: 400 13px/1 var(--font-body); color: var(--text-muted); margin-inline-start: 4px; }

/* phones: name and phone share a row in the questionnaire's last step, so the whole step stays on one screen */
@media (max-width: 900px) {
  #qFinal .l-form { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 9px 10px; }
  #qFinal .l-form > * { grid-column: 1 / -1; }
  #qFinal .l-form > .field:has(input[name="name"]), #qFinal .l-form > .field:has(input[name="phone"]) { grid-column: auto; }
  #qFinal .field input[type="text"], #qFinal .field input[type="tel"], #qFinal .field input[type="email"] { height: 46px; }
}

/* ---------- questionnaire: several answers per question, "other" with free text, then "continue" ---------- */
.q-hint { margin-top: 4px; font: 500 14px/1.4 var(--font-body); color: var(--text-muted); }
.q-opt::after { border-radius: 6px; }
.q-opt[aria-pressed="true"]::after { box-shadow: none; background: var(--text) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5' fill='none' stroke='%23fff' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat; }
.q-other-box { margin-top: 8px; }
.q-other-box input { width: 100%; height: 48px; padding: 0 14px; border: 1.5px solid var(--text); border-radius: var(--radius); background: var(--surface); color: var(--text); font: 400 16px var(--font-body); }
.q-other-box input:focus { outline: none; box-shadow: 0 0 0 4px color-mix(in srgb, var(--primary) 30%, transparent); }
.q-next { margin-top: 12px; }
.q-next:disabled { opacity: .4; cursor: not-allowed; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@media (max-width: 900px) {
  .q-opt { min-height: 48px; padding: 8px 14px; }
  .q-opt small { font-size: 13px; margin-top: 0; }
  .q-opts { gap: 7px; margin-top: 10px; }
  .q-next.btn-lg { min-height: 50px; }
  .q-foot { margin-top: 8px; }
}

/* ---------- questionnaire: the links step ---------- */
.q-free .l-links { margin-top: 12px; display: grid; gap: 8px; }
.q-free .q-about { margin-top: 12px; }
.q-free .q-about textarea { min-height: 64px; }

/* ---------- questionnaire: the opening screen ---------- */
.q-tag { display: inline-block; padding: 6px 12px; border-radius: 99px; background: var(--primary); color: var(--on-primary); font: 700 13.5px/1 var(--font-body); }
.q-intro h2 { margin-top: 12px; font-size: clamp(25px, 2.5vw, 33px); }
.q-perks { list-style: none; margin: 16px 0 18px; padding: 0; display: grid; gap: 9px; }
.q-perks li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 10px; font: 500 16px/1.45 var(--font-body); }
.q-perks svg { width: 22px; height: 22px; margin-top: 1px; fill: none; stroke: var(--accent-ink); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.q-intro .cro-fine { margin-top: 10px; }
.q-opt[hidden] { display: none; }

.q-intro h2 { margin-top: 0; }
.q-intro .btn { margin-top: 18px; }

/* ---------- opening screen: three beats that light up one after another, and a button that asks to be pressed ---------- */
.q-flow { list-style: none; margin: 18px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; position: relative; }
.q-flow::before { content: ""; position: absolute; top: 17px; inset-inline: 16.6%; height: 2px; background: var(--line); }
.q-flow::after { content: ""; position: absolute; top: 17px; inset-inline-start: 16.6%; width: 66.8%; height: 2px; background: var(--primary); transform-origin: right; animation: qLine 3.6s var(--ease) infinite; }
.q-flow li { position: relative; z-index: 1; display: grid; justify-items: center; gap: 8px; text-align: center; font: 600 14px/1.3 var(--font-body); color: var(--text); }
.q-flow i { width: 36px; height: 36px; border-radius: 50%; background: var(--surface); border: 2px solid var(--line); color: var(--text); font: 700 15px/32px var(--font-body); font-style: normal; text-align: center; animation: qDot 3.6s var(--ease) infinite; }
.q-flow li:nth-child(2) i { animation-delay: 1.2s; } .q-flow li:nth-child(3) i { animation-delay: 2.4s; }
@keyframes qDot { 0%, 100% { background: var(--surface); border-color: var(--line); transform: none; } 8%, 30% { background: var(--primary); border-color: var(--primary); color: var(--on-primary); transform: scale(1.12); } 45% { background: var(--surface); border-color: var(--line); transform: none; } }
@keyframes qLine { 0% { transform: scaleX(0); } 70%, 100% { transform: scaleX(1); } }
body[data-variant="b"] .l-hero .q-go { position: relative; animation: qGo 2.2s ease-out infinite; }
.q-go .arr { display: inline-block; animation: qArr 1.1s ease-in-out infinite; }
.q-go:hover { transform: translateY(-2px); }
@keyframes qGo { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--primary) 70%, transparent); } 70%, 100% { box-shadow: 0 0 0 16px color-mix(in srgb, var(--primary) 0%, transparent); } }
@keyframes qArr { 0%, 100% { transform: none; } 50% { transform: translateX(-7px); } }
html.motion-off .q-flow::after, html.motion-calm .q-flow::after { animation: none; transform: none; }
/* the questionnaire at the bottom of the page: the card sits inside the closing white box, so it drops its own frame */
.cro-end { margin-top: 14px; }
.cro-end-invite .btn { margin-top: 16px; }
.cro-end-invite .cro-fine { margin-top: 10px; }
.l-final-form .cro-end > .cro-card.l-card-form { padding: 0; border: 0; box-shadow: none; background: none; }
.cro-holder { display: grid; place-content: center; justify-items: center; gap: 6px; text-align: center; color: var(--text-muted); }
.cro-holder[hidden], .cro-end-invite[hidden], #qEndAlt[hidden], .cro-contact[hidden] { display: none; }
#qEndAlt { margin-top: 12px; }
/* after a call request: the button to the founder's free times */
.l-thanks .l-book { margin-top: 14px; }
.l-thanks .l-book .btn { margin-top: 10px; color: var(--on-primary); background: var(--primary); }
html.motion-off .q-flow i, html.motion-calm .q-flow i, html.motion-off .q-go .arr, html.motion-calm .q-go .arr, html.motion-off body[data-variant="b"] .l-hero .q-go, html.motion-calm body[data-variant="b"] .l-hero .q-go { animation: none; }
