/* Pages of words and forms: questions and answers, the documents, sign-in and sign-up. */

/* Questions and answers */
.page.help-page{max-width:1120px;padding-top:clamp(30px,5vw,68px)}
.help-head h1{max-width:820px;font-size:clamp(32px,5.2vw,66px);font-weight:800;letter-spacing:-.04em;line-height:1;text-wrap:balance}
.help-head .lead{max-width:600px;margin-top:18px;font-size:17px;line-height:1.5;color:var(--muted)}
.help-head .lead a{color:var(--pink-ink)}
.help-grid{display:grid;grid-template-columns:210px minmax(0,1fr);gap:clamp(24px,5vw,76px);align-items:start;margin-top:clamp(30px,5vw,60px)}
.help-toc{position:sticky;top:calc(var(--head-h,58px) + 26px);display:grid;gap:2px}
.help-toc a{padding:9px 12px;border-radius:11px;color:var(--muted);font-size:14.5px;font-weight:600;text-decoration:none;transition:color .15s,background .15s}
.help-toc a:hover{color:var(--text);background:color-mix(in srgb,var(--text) 6%,transparent)}
.help-toc a.on{color:var(--text);background:color-mix(in srgb,var(--text) 7%,transparent)}
/* Search over the questions: the field, and a line that says how many questions are left on the page. */
.help-search{position:relative;display:flex;align-items:center;max-width:520px;margin:0 0 26px}
.help-search .ic{position:absolute;left:14px;width:18px;height:18px;color:var(--muted);pointer-events:none}
.help-search input{width:100%;padding:13px 14px 13px 42px;border:1px solid var(--border);border-radius:14px;background:var(--surface);color:var(--text);font:inherit;font-size:16px}
.help-search input::placeholder{color:var(--muted)}
.help-search input:focus{outline:2px solid var(--pink);outline-offset:1px;border-color:transparent}
.help-found{margin:-12px 0 22px;font-size:14px;color:var(--muted)}
.help-body.searching section{margin-bottom:26px}
.help-body section{margin:0 0 clamp(34px,5vw,60px);scroll-margin-top:calc(var(--head-h,58px) + 26px)}
.help-body h2{margin:0 0 16px;font-size:clamp(22px,2.8vw,32px);font-weight:800;letter-spacing:-.025em;line-height:1.1}
/* A question is a card: the question and a round button that turns; the open one shows its answer inside. */
.help-body details{margin:0 0 8px;border:1px solid var(--border);border-radius:16px;background:var(--surface);scroll-margin-top:calc(var(--head-h,58px) + 32px);transition:border-color .15s}
.help-body details:hover,.help-body details:target{border-color:var(--pink)}
.help-body details:has(>summary:focus-visible){outline:2px solid var(--pink);outline-offset:2px}
.help-body summary{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 16px 16px 22px;font-size:16.5px;font-weight:650;line-height:1.35;color:var(--text);list-style:none;cursor:pointer}
.help-body summary:focus-visible{outline:none}
.help-body summary::-webkit-details-marker{display:none}
.help-body details>summary::before{content:none}
.help-body summary .ic{flex:none;width:32px;height:32px;padding:8px;border-radius:50%;background:color-mix(in srgb,var(--text) 6%,transparent);color:var(--text);rotate:90deg;transition:rotate .2s,background .2s,color .2s}
.help-body details:hover>summary .ic{background:color-mix(in srgb,var(--pink) 14%,transparent);color:var(--pink-ink)}
.help-body details[open]>summary .ic{rotate:-90deg;background:var(--pink-fill);color:#fff}
.help-body details>:not(summary){max-width:68ch;margin:0 22px 12px;font-size:16px;line-height:1.62;color:color-mix(in srgb,var(--text) 82%,var(--surface))}
.help-body details>:last-child{margin-bottom:22px}
.help-body details>summary+*{margin-top:2px}
.help-body details b{font-weight:650;color:var(--text)}
.help-body details a{color:var(--pink-ink);text-underline-offset:3px}
/* The answer opens smoothly where the browser can grow to the height of its content. */
@supports (interpolate-size:allow-keywords){
  .help-body{interpolate-size:allow-keywords}
  .help-body details::details-content{block-size:0;overflow:hidden;transition:block-size .24s ease,content-visibility .24s allow-discrete}
  .help-body details[open]::details-content{block-size:auto}
}
@media (prefers-reduced-motion:reduce){.help-body details::details-content{transition:none}}
/* Inside an answer: points, steps one after another, the days of a payout, the rates. */
.help-body .help-list,.help-body .help-steps{display:grid;gap:7px;padding:0;list-style:none}
.help-list li,.help-steps li{position:relative;padding-left:20px}
.help-list li::before{content:"";position:absolute;left:4px;top:.68em;width:6px;height:6px;border-radius:50%;background:var(--pink)}
.help-body .help-steps{gap:12px}
.help-steps li::before{content:"";position:absolute;left:2px;top:.5em;width:10px;height:10px;box-sizing:border-box;border:2px solid var(--pink);border-radius:50%;background:var(--surface)}
.help-steps li:not(:last-child)::after{content:"";position:absolute;left:6px;top:calc(.5em + 12px);bottom:-12px;width:2px;background:color-mix(in srgb,var(--pink) 22%,transparent)}
.help-body .help-dates{display:grid;padding:0;border:1px solid var(--border);border-radius:12px;list-style:none;overflow:hidden}
.help-dates li{display:grid;grid-template-columns:8.6em minmax(0,1fr);gap:12px;padding:10px 14px;line-height:1.45}
.help-dates li+li{border-top:1px solid var(--border)}
.help-body .help-dates b{color:var(--pink-ink);font-variant-numeric:tabular-nums}
.help-body .help-rates{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;padding:0;list-style:none}
.help-rates li{padding:12px 14px;border-radius:12px;background:var(--bg);font-size:13.5px;line-height:1.3;color:var(--muted)}
.help-body .help-rates b{display:block;margin-bottom:3px;font-family:"Wix Madefor Display","Wix Madefor Text",-apple-system,BlinkMacSystemFont,"Segoe UI",system-ui,sans-serif;font-size:24px;font-weight:800;letter-spacing:-.02em;line-height:1}
.help-body .help-rates li:last-child b{color:var(--pink-ink)}
.help-body .help-note{padding:12px 16px;border-radius:12px;background:var(--bg);color:var(--text)}
.help-more{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:16px 24px;margin:0;padding:clamp(22px,3vw,34px);border-radius:26px;background:var(--ink);color:#fff}
.help-more b{display:block;font-size:clamp(20px,2.4vw,28px);font-weight:800;letter-spacing:-.02em;line-height:1.15}
.help-more span{display:block;margin-top:6px;font-size:14.5px;color:#ffffffa6}
.help-more p{display:flex;flex-wrap:wrap;gap:10px;margin:0}
.help-more .button.ghost{border-color:#ffffff47;color:#fff}
.help-more .button.ghost:hover{border-color:#fff}

/* A document */
.page.doc-page{max-width:780px;padding-top:clamp(30px,5vw,68px)}
.doc header{margin:0 0 30px;padding:0 0 24px;border-bottom:1px solid var(--border)}
.doc h1{font-size:clamp(28px,4.6vw,50px);font-weight:800;letter-spacing:-.035em;line-height:1.04;text-wrap:balance}
.doc header .muted{margin-top:14px;font-size:14px}
.doc h2{margin:36px 0 10px;font-size:21px;font-weight:700;letter-spacing:-.01em;line-height:1.25}
.doc p,.doc li{font-size:16px;line-height:1.66;overflow-wrap:anywhere}
.doc p{margin:0 0 14px}
.doc ul{margin:0 0 14px;padding-left:22px}
.doc li{margin:0 0 6px}
.doc li::marker{color:var(--pink)}

/* Sign-in and sign-up: one card, the form in its left half, a word about the platform on a soft ground in the right. */
.page.auth{max-width:1040px;padding-top:clamp(24px,6vh,72px)}
.auth-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);min-height:500px;border:1px solid var(--border);border-radius:28px;background:var(--surface);box-shadow:var(--shadow);overflow:hidden}
.auth-form{align-self:center;min-width:0;padding:clamp(24px,3.6vw,48px)}
.auth-form .card{margin:0;padding:0;border:0;border-radius:0;background:none;box-shadow:none}
.auth-form .card+.card{margin-top:22px;padding-top:22px;border-top:1px solid var(--border)}
.auth-form .card.center{text-align:left}
.auth-form .card.center .actions{justify-content:flex-start}
.auth-form .steps-bar{margin-bottom:20px}
.auth-form .form .button{width:100%}
.auth-side{position:relative;display:flex;flex-direction:column;justify-content:center;gap:22px;min-width:0;margin:10px;padding:clamp(24px,3.2vw,42px);border-radius:20px;background:var(--soft);overflow:hidden}
.auth-loop{display:block;width:min(70%,230px);height:auto;margin:0;overflow:visible}
/* As on the steps of the start page (.l-loop-*): the swash in grey, the pink drawn by a pen along its stroke. */
.auth-base{fill:var(--border)}
.auth-done{fill:var(--pink)}
.auth-pen{fill:none;stroke:#fff;stroke-width:86;stroke-linecap:butt;stroke-linejoin:round;stroke-dasharray:1000 1000;stroke-dashoffset:1000;animation:auth-draw 7s cubic-bezier(.45,.05,.4,1) infinite}
@keyframes auth-draw{0%{stroke-dashoffset:1000}55%,70%{stroke-dashoffset:0}100%{stroke-dashoffset:-1000}}
@media (prefers-reduced-motion:reduce){.auth-pen{animation:none;stroke-dashoffset:0}}
.auth-side h2{max-width:400px;margin:0;font-size:clamp(26px,2.9vw,38px);font-weight:800;letter-spacing:-.03em;line-height:1.08;text-wrap:balance}
.auth-side h2 em{font-style:normal;color:var(--pink-ink)}
.auth-way{max-width:400px;margin:0;font-size:16px;line-height:1.5}
.auth-pulse{display:flex;align-items:center;gap:14px;margin:6px 0 0;font-size:14px;line-height:1.35;color:var(--muted)}
.auth-pulse b{display:block;font-size:16px;color:var(--text);font-variant-numeric:tabular-nums}
.auth-faces{display:flex;flex:none;padding-left:10px}
.auth-faces img,.auth-faces span{width:38px;height:38px;margin-left:-10px;border:2px solid var(--soft);border-radius:50%;object-fit:cover;background:var(--pink-fill);color:#fff;font-weight:700}
.auth-faces span{display:grid;place-items:center}

@media (max-width:900px){
  .help-grid{grid-template-columns:minmax(0,1fr)}
  .help-toc{position:static;display:flex;gap:6px;margin:0 -20px;padding:0 20px 4px;overflow-x:auto;scrollbar-width:none}
  .help-toc::-webkit-scrollbar{display:none}
  .help-toc a{flex:none;border:1px solid var(--border);border-radius:999px;background:var(--surface);white-space:nowrap}
  .page.auth{max-width:520px}
  .auth-grid{grid-template-columns:minmax(0,1fr);min-height:0}
  .auth-side{order:2;margin-top:0;gap:16px}
  .auth-way{display:none}
  .auth-side h2{font-size:24px}
  .auth-loop{display:none}
}
@media (max-width:640px){
  .help-toc{margin:0 -14px;padding:0 14px 4px}
  .help-body summary{gap:12px;padding:14px 12px 14px 16px;font-size:16px}
  .help-body details>:not(summary){margin-inline:16px;font-size:15.5px}
  .help-body details>:last-child{margin-bottom:18px}
  .help-body .help-rates{grid-template-columns:repeat(2,minmax(0,1fr))}
  .help-dates li{grid-template-columns:minmax(0,1fr);gap:2px}
}
.help-more{--pink-ink:#ff5cb5}
html[data-theme=dark] .help-more{box-shadow:inset 0 0 0 1px #ffffff14}
@media (prefers-color-scheme:dark){html:not([data-theme=light]) .help-more{box-shadow:inset 0 0 0 1px #ffffff14}}
html:has(.help-page){scroll-behavior:smooth}
.auth-out{margin:14px 4px 0}
.auth-out a{color:inherit}
