/* Yalla one-question-per-screen forms (warm portal style). From designs/portals/Form*.dc.html */
*,*::before,*::after{box-sizing:border-box}
html,body{margin:0;height:100%}
body{background:#fbf8f2}
a{color:#17734c}a:hover{color:#0f5236}
.tf{--bg:#fbf8f2;--ink:#14201b;--muted:#5d6a63;--gink:#17734c;font-family:Poppins,system-ui,sans-serif;color:var(--ink);background:var(--bg);min-height:100vh;min-height:100dvh;position:relative;overflow:hidden;display:flex;flex-direction:column}
.tf:focus{outline:none}
.blob{position:absolute;border-radius:50%;filter:blur(110px);pointer-events:none;z-index:0}
.blob-a{width:640px;height:640px;right:-220px;top:-240px;background:rgba(46,185,126,0.2)}
.blob-b{width:560px;height:560px;left:-240px;bottom:-260px;background:rgba(240,200,130,0.3)}
.h{font-family:'League Spartan',Poppins,sans-serif;letter-spacing:-0.01em}
.muted{color:var(--muted)}
.bar{position:absolute;left:0;right:0;top:0;height:6px;background:rgba(46,185,126,0.15);z-index:3}
.bar span{display:block;height:100%;width:0;background:#2EB97E;border-radius:0 6px 6px 0;transition:width .4s ease}
.tfhead{display:flex;flex-wrap:wrap;gap:12px;justify-content:space-between;align-items:center;padding:28px 40px;position:relative;z-index:2}
.logo{display:flex;align-items:center;gap:10px;text-decoration:none;color:var(--ink)}
.logo:hover{color:var(--ink)}
.mark{width:38px;height:38px;object-fit:contain;flex:none;display:block}
.wordmark{font-size:18px;font-weight:700;letter-spacing:0.08em}
.tfhead .where{font-size:14px;font-weight:500}
.stage{flex:1;display:flex;align-items:center;justify-content:center;padding:24px 40px 168px;position:relative;z-index:2}
.q{width:100%;max-width:720px;animation:rise .45s ease both}
.q-center{text-align:center;max-width:700px}
.q-still{animation:none}
@keyframes rise{from{opacity:0;transform:translateY(24px)}to{opacity:1;transform:none}}
@media (prefers-reduced-motion:reduce){.q{animation:none}.bar span{transition:none}}
.eyebrow{font-size:14px;font-weight:600;letter-spacing:0.08em;text-transform:uppercase;color:var(--muted)}
.qnum{display:inline-flex;align-items:center;gap:6px;font-size:15px;font-weight:600;color:var(--gink);margin-bottom:12px}
.qtitle{display:block;font-family:'League Spartan',Poppins,sans-serif;font-size:36px;line-height:1.2;font-weight:600}
.qhelp{margin:12px 0 0;font-size:18px;color:var(--muted);line-height:1.55}
.wtitle{margin:18px 0 0;font-size:56px;line-height:1.05;font-weight:700}
.wactions{display:flex;flex-direction:column;align-items:center;gap:14px;margin-top:34px}
.doneactions{display:flex;flex-wrap:wrap;justify-content:center;gap:12px;margin-top:34px}
.line{display:block;width:100%;border:0;border-bottom:2px solid rgba(46,185,126,0.4);background:transparent;font:400 28px Poppins,sans-serif;color:var(--ink);padding:10px 0;margin-top:30px;outline:none;border-radius:0}
.line:focus{border-bottom-color:#2EB97E}
.line::placeholder{color:#857f72}
textarea.line{resize:none;min-height:130px;line-height:1.45;font-size:24px}
.choices{display:flex;flex-direction:column;align-items:flex-start;gap:10px;margin-top:30px}
.choice{display:flex;align-items:center;gap:14px;min-width:300px;max-width:100%;min-height:56px;padding:8px 18px 8px 12px;border-radius:14px;border:1.5px solid rgba(46,185,126,0.5);background:rgba(46,185,126,0.08);font:500 18px Poppins,sans-serif;color:var(--ink);cursor:pointer;text-align:left;transition:background .15s}
.choice:hover{background:rgba(46,185,126,0.16)}
.choice:focus-visible,.ok:focus-visible,.ghost:focus-visible,.arrows button:focus-visible,.tf a:focus-visible{outline:3px solid rgba(23,115,76,0.55);outline-offset:2px}
.choice.on{background:rgba(46,185,126,0.24);border-color:#17734c;box-shadow:inset 0 0 0 1px #17734c}
.key{width:28px;height:28px;border-radius:8px;border:1.5px solid rgba(23,115,76,0.5);display:grid;place-items:center;font-size:13px;font-weight:700;color:var(--gink);background:#fff;flex:none}
.choice.on .key{background:#17734c;color:#fff;border-color:#17734c}
.tick{width:22px;height:22px;margin-left:auto;fill:none;stroke:#17734c;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round;flex:none}
.prices{margin-top:30px;display:flex;flex-direction:column;gap:14px;max-width:620px}
.prow{display:grid;grid-template-columns:100px repeat(2,minmax(0,1fr));gap:16px;align-items:center}
.plen{font-size:18px;font-weight:600}
.money{display:flex;align-items:center;gap:8px;border-bottom:2px solid rgba(46,185,126,0.4)}
.money:focus-within{border-bottom-color:#2EB97E}
.money input{border:0;background:transparent;font:400 24px Poppins,sans-serif;width:100%;min-width:0;padding:8px 0;outline:none;color:var(--ink)}
.money span{font-size:14px;font-weight:600;color:var(--muted)}
.okrow{display:flex;flex-wrap:wrap;align-items:center;gap:14px;margin-top:30px}
.ok{display:inline-flex;align-items:center;gap:8px;min-height:52px;padding:0 26px;border-radius:14px;border:0;background:#2EB97E;color:#0a0f0d;font:700 18px Poppins,sans-serif;cursor:pointer;text-decoration:none;box-shadow:0 8px 20px rgba(46,185,126,0.3)}
.ok:hover{color:#0a0f0d;background:#29a872}
.ok:disabled{opacity:.6;cursor:default}
.ghost{min-height:52px;padding:0 20px;border-radius:14px;border:1.5px solid #e3dccd;background:transparent;font:600 16px Poppins,sans-serif;color:var(--ink);cursor:pointer}
.enterhint{font-size:13px;color:var(--muted)}
.enterhint b{font-weight:700;color:var(--ink)}
.enterhint.strong{font-weight:600}
.hint-row{display:inline-flex;align-items:center;gap:6px}
.gap-top{margin-top:14px}
.gap-top-lg{margin-top:26px}
.cc{min-height:18px;margin-top:8px;font-size:13px;font-weight:600;color:var(--muted);text-align:right}
.cc.full{color:#b42318}
.qtitle,.wtitle,.qhelp{overflow-wrap:anywhere}
.tf-link{font-weight:600}
.err{display:inline-flex;align-items:center;gap:8px;margin-top:18px;padding:8px 14px;border-radius:10px;background:#fde7e5;color:#b42318;font-size:14px;font-weight:600}
.ic{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round;flex:none}
.ic-sm{width:16px;height:16px}
.ic-lg{width:34px;height:34px;stroke-width:1.8}
.ic-xl{width:44px;height:44px;stroke-width:2.6}
.arrows{position:fixed;right:40px;bottom:32px;display:flex;gap:2px;z-index:3}
.arrows[hidden]{display:none}
.arrows button{width:48px;height:48px;border:0;background:#2EB97E;color:#0a0f0d;cursor:pointer;display:grid;place-items:center;padding:0}
.arrows button:first-child{border-radius:12px 0 0 12px}
.arrows button:last-child{border-radius:0 12px 12px 0}
.arrows button:disabled{opacity:.35;cursor:default}
.donecheck{width:88px;height:88px;border-radius:50%;background:#2EB97E;color:#0a0f0d;display:grid;place-items:center;margin:0 auto;box-shadow:0 12px 30px rgba(46,185,126,0.35)}
noscript .nojs{max-width:560px;margin:80px auto;padding:24px;font-family:Poppins,system-ui,sans-serif;text-align:center}

/* Phones (375px and up) */
@media (max-width:640px){
  .tfhead{padding:22px 20px 8px}
  .tfhead .where{display:none}
  .stage{padding:16px 20px calc(148px + env(safe-area-inset-bottom));align-items:flex-start;padding-top:8vh} /* every step scrolls clear of the up and down buttons */
  .qtitle{font-size:26px}
  .qhelp{font-size:16px}
  .wtitle{font-size:38px}
  .line{font-size:20px;margin-top:22px}
  textarea.line{font-size:18px;min-height:150px}
  .choices{align-items:stretch;margin-top:22px}
  .choice{min-width:0;width:100%;font-size:16px}
  .prow{grid-template-columns:64px repeat(2,minmax(0,1fr));gap:12px}
  .plen{font-size:15px}
  .money input{font-size:20px}
  .enter-only{display:none}
  .arrows{right:20px;bottom:20px}
  .ok{min-height:52px}
}
