/* YUSR.RENT — Application form (YC-274) styles.
   Self-contained, CSP-safe. Served via AssetMapper.
   (1) Self-hosted brand fonts  (2) :root design tokens  (3) form ruleset (verbatim from prototype). */

/* ---------------------------------------------------------------- FONTS --- */
/* Self-hosted (no Google Fonts @import — CSP blocks external stylesheets). */
@font-face {
  font-family: "Righteous";
  src: url("../fonts/yusr/Righteous-Regular-0zYG0a8.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Roboto";
  src: url("../fonts/yusr/Roboto-Variable-futMxh-.ttf") format("truetype");
  font-weight: 100 900;
  font-stretch: 75% 125%;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Roboto";
  src: url("../fonts/yusr/Roboto-Italic-Variable-LoJERS_.ttf") format("truetype");
  font-weight: 100 900;
  font-stretch: 75% 125%;
  font-style: italic;
  font-display: swap;
}

/* --------------------------------------------------------------- TOKENS --- */
:root{
  --brand-300:#9BEE68;--brand-400:#78E13A;
  --canvas:#0A0A0A;--surface:#171717;--field-bg:#101010;
  --line:rgba(255,255,255,.12);--line2:rgba(255,255,255,.22);
  --fg1:#FFFFFF;--fg2:#ECECEC;--muted:#BDBDBD;--faint:#9A9A9A;
  --primary:#9BEE68;--primary-hover:#ABF47D;--ink:#08130A;
  --danger:#E0533D;
  --focus:0 0 0 3px rgba(155,238,104,.20);
  --r:22px;--r-lg:28px;--pill:999px;--rsm:14px;
  --shadow:0 30px 70px -34px rgba(0,0,0,.85);
  --fd:"Righteous",system-ui,sans-serif;--fb:"Roboto",system-ui,sans-serif;
}

/* ---- Embedded-widget variant: every selector below is prefixed with .apply-embed
   so this stylesheet can be safely mounted inside the landing page without leaking
   onto (or being overridden unpredictably by) the rest of the site. Plain selector
   prefixing is used instead of the @scope at-rule for broad browser support. ---- */
.apply-embed { position: relative; color: var(--fg2); font-family: var(--fb); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
.apply-embed, .apply-embed *{box-sizing:border-box;margin:0;padding:0}


/* glow reduced ~30% */

.apply-embed .shell{position:relative;z-index:1;max-width:480px;margin:0 auto;padding:16px 16px 32px}

.apply-embed .brand{display:flex;align-items:center;gap:11px;margin-bottom:12px}
.apply-embed .brand .mark{width:40px;height:40px;border-radius:11px;background:var(--primary);color:var(--ink);display:grid;place-items:center;font-family:var(--fd);font-size:21px}
.apply-embed .brand .wm{font-family:var(--fd);font-size:18px;color:var(--fg1)}
.apply-embed .brand .wm b{color:var(--primary)}
.apply-embed .brand .det{margin-left:auto;font-size:12.5px;color:var(--muted);border:1px solid var(--line2);border-radius:var(--pill);padding:6px 11px}

.apply-embed .eyebrow{display:inline-flex;align-items:center;gap:9px;font-weight:700;font-size:12px;letter-spacing:.16em;text-transform:uppercase;color:var(--primary)}
.apply-embed .eyebrow::before{content:"";width:24px;height:2px;background:var(--primary);opacity:.8}

.apply-embed .sr{position:absolute;width:0;height:0;opacity:0;pointer-events:none}

/* progress — bigger + step name */
.apply-embed .progress{margin:2px 0 12px}
.apply-embed .progress .meta{display:flex;flex-direction:column;gap:2px;margin-bottom:7px}
.apply-embed .progress .lbl{display:none}
.apply-embed .progress .nm{font-family:var(--fd);font-size:clamp(23px,6.4vw,28px);line-height:1.12;color:var(--primary)}
.apply-embed .bars{display:flex;gap:6px}
.apply-embed .barbtn{flex:1;padding:8px 0;cursor:pointer;display:block}
.apply-embed .barbtn i{display:block;height:7px;border-radius:99px;background:rgba(255,255,255,.13);overflow:hidden;position:relative}
.apply-embed .barbtn i::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,var(--brand-300),var(--brand-400));transform:scaleX(0);transform-origin:left;transition:transform .4s ease}
.apply-embed #s0:checked~.progress label[for=s0] i::after{transform:scaleX(1)}
.apply-embed #s1:checked~.progress label[for=s0] i::after, .apply-embed #s1:checked~.progress label[for=s1] i::after{transform:scaleX(1)}
.apply-embed #s2:checked~.progress label[for=s0] i::after, .apply-embed #s2:checked~.progress label[for=s1] i::after, .apply-embed #s2:checked~.progress label[for=s2] i::after{transform:scaleX(1)}
.apply-embed #s3:checked~.progress label[for=s0] i::after, .apply-embed #s3:checked~.progress label[for=s1] i::after, .apply-embed #s3:checked~.progress label[for=s2] i::after, .apply-embed #s3:checked~.progress label[for=s3] i::after{transform:scaleX(1)}
.apply-embed #s4:checked~.progress label[for=s0] i::after, .apply-embed #s4:checked~.progress label[for=s1] i::after, .apply-embed #s4:checked~.progress label[for=s2] i::after, .apply-embed #s4:checked~.progress label[for=s3] i::after, .apply-embed #s4:checked~.progress label[for=s4] i::after{transform:scaleX(1)}
.apply-embed #s5:checked~.progress label[for=s0] i::after, .apply-embed #s5:checked~.progress label[for=s1] i::after, .apply-embed #s5:checked~.progress label[for=s2] i::after, .apply-embed #s5:checked~.progress label[for=s3] i::after, .apply-embed #s5:checked~.progress label[for=s4] i::after, .apply-embed #s5:checked~.progress label[for=s5] i::after{transform:scaleX(1)}
.apply-embed #s0:checked~.progress .lbl::after{content:"Step 1 of 3"}
.apply-embed #s1:checked~.progress .lbl::after{content:"Step 2 of 3"}
.apply-embed #s2:checked~.progress .lbl::after{content:"Step 3 of 3"}
.apply-embed #s3:checked~.progress .lbl::after{content:"Step 4 of 6"}
.apply-embed #s4:checked~.progress .lbl::after{content:"Step 5 of 6"}
.apply-embed #s5:checked~.progress .lbl::after{content:"Step 6 of 6"}
.apply-embed #s0:checked~.progress .nm::after{content:"Let's start"}
.apply-embed #s1:checked~.progress .nm::after{content:"Verify number"}
.apply-embed #s2:checked~.progress .nm::after{content:"Final step"}
.apply-embed #s3:checked~.progress .nm::after{content:"Employment & Finances"}
.apply-embed #s4:checked~.progress .nm::after{content:"Documents"}
.apply-embed #s5:checked~.progress .nm::after{content:"Confirm Request"}
.apply-embed #s5:checked~.progress{display:none}

.apply-embed .card{background:var(--surface);border:1px solid var(--line);border-radius:var(--r-lg);padding:18px 16px 18px;box-shadow:var(--shadow)}
.apply-embed .card .step{display:none;animation:rise .35s ease both}
@keyframes rise{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:none}}
.apply-embed #s0:checked~.card #step0, .apply-embed #s1:checked~.card #step1, .apply-embed #s2:checked~.card #step2, .apply-embed #s3:checked~.card #step3, .apply-embed #s4:checked~.card #step4, .apply-embed #s5:checked~.card #step5, .apply-embed #s6:checked~.card #step6{display:block}

.apply-embed h1{font-family:var(--fd);font-weight:400;font-size:clamp(30px,8vw,40px);line-height:1.14;color:var(--fg1)}
.apply-embed h2.sec{font-family:var(--fd);font-weight:400;font-size:26px;color:var(--fg1);margin-top:6px}
.apply-embed .sub{color:var(--muted);font-size:16px;margin-top:11px}
.apply-embed .mini{display:inline-flex;align-items:center;gap:7px;font-size:13.5px;color:var(--faint);margin-top:12px}
.apply-embed .mini svg{width:14px;height:14px;color:var(--primary)}

/* prominent benefits under headline */
.apply-embed .benefits{display:grid;gap:11px;margin-top:18px}
.apply-embed .ben{display:flex;align-items:center;gap:11px;font-size:16px;font-weight:500;color:var(--fg1)}
.apply-embed .ben .c{flex:none;width:26px;height:26px;border-radius:50%;background:rgba(155,238,104,.14);display:grid;place-items:center;color:var(--primary)}
.apply-embed .ben .c svg{width:15px;height:15px}

/* calculator — even, neutral */
.apply-embed .calc{margin-top:14px;background:var(--field-bg);border:1px solid var(--line2);border-radius:var(--r);padding:13px 14px;display:flex;align-items:center;gap:14px}
.apply-embed .calc__slider{flex:1;min-width:0}
.apply-embed .calc__val{flex:0 0 auto;display:flex;align-items:center;gap:9px}
.apply-embed .amount{display:flex;align-items:baseline;gap:11px;min-width:0}
.apply-embed .amount__cur{font-weight:700;font-size:15px;color:var(--muted);letter-spacing:.04em;flex:none}
.apply-embed input.amount__val{font-family:var(--fb);font-weight:700;font-size:17px;line-height:1;color:var(--fg1);background:var(--field-bg);border:1px solid var(--line);border-radius:12px;width:104px;text-align:right;padding:12px 13px;outline:none;-webkit-appearance:none;caret-color:var(--primary)}
.apply-embed input.amount__val:focus{border-color:var(--line2)}
/* v3 merged amount control — editable field on top, full-width slider below */
.apply-embed .calc--stacked{flex-direction:column;align-items:stretch;gap:6px;padding:8px 11px}
.apply-embed .calc--stacked .calc__slider{width:100%;flex:none}
.apply-embed .amt-entry{display:flex;align-items:center;gap:10px;background:var(--surface);border:1.5px solid var(--line2);border-radius:11px;padding:7px 11px}
.apply-embed .amt-entry:focus-within{border-color:var(--primary)}
.apply-embed .amt-inp{flex:1;min-width:0;border:0;background:transparent;color:var(--fg1);font-family:var(--fb);font-weight:700;font-size:17px;padding:0;outline:none;caret-color:var(--primary);-webkit-appearance:none}
.apply-embed .amt-inp::placeholder{color:var(--faint);font-weight:500}
.apply-embed .amt-entry .amount__cur{flex:none}
.apply-embed .amt-entry.invalid,.apply-embed .amt-inp.invalid{border-color:#e0533d!important}
.apply-embed .range{-webkit-appearance:none;appearance:none;width:100%;height:6px;border-radius:99px;background:#2b2b2b;cursor:pointer;margin:5px 0 9px;outline:none}
.apply-embed .range:focus{box-shadow:var(--focus)}
.apply-embed .range::-webkit-slider-thumb{-webkit-appearance:none;appearance:none;width:16px;height:16px;margin-top:-5px;border-radius:50%;background:var(--primary);box-shadow:0 1px 3px rgba(0,0,0,.4);cursor:pointer}
.apply-embed .range::-moz-range-track{height:6px;border-radius:99px;background:#2b2b2b}
.apply-embed .range::-moz-range-progress{height:6px;border-radius:99px;background:var(--brand-400)}
.apply-embed .range::-moz-range-thumb{width:16px;height:16px;border:0;border-radius:50%;background:var(--primary);box-shadow:0 1px 3px rgba(0,0,0,.4);cursor:pointer}
.apply-embed .ticks{display:flex;justify-content:space-between;font-size:11px;color:var(--faint)}
.apply-embed .note{font-size:13.5px;color:var(--faint);margin-top:12px;line-height:1.55}

/* bigger spacing between sections */
.apply-embed .group{margin-top:16px}
.apply-embed .row{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.apply-embed label.fl{display:block;font-size:15px;color:var(--fg2);margin:0 0 9px 2px;font-weight:500}
.apply-embed label.fl .req{color:var(--primary)}
.apply-embed .req{color:var(--primary);font-weight:700;margin-left:1px}
.apply-embed label.fl .opt{color:var(--faint);font-weight:400}
.apply-embed .input{font-family:var(--fb);font-size:16px;color:var(--fg1);background:var(--field-bg);border:1px solid var(--line);border-radius:13px;padding:15px 16px;width:100%;min-height:56px;outline:none;appearance:none;-webkit-appearance:none}
.apply-embed .input::placeholder{color:var(--faint)}
.apply-embed .input:focus{border-color:var(--primary);box-shadow:var(--focus)}
.apply-embed select.input{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='15' height='10' fill='none'%3E%3Cpath d='M1 1l6.5 6.5L14 1' stroke='%239BEE68' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 16px center;padding-right:40px}
.apply-embed .hint{font-size:14px;color:var(--faint);margin:9px 2px 0;line-height:1.5}
.apply-embed .hint b{color:var(--primary);font-weight:700}
.apply-embed select.input.invalid, .apply-embed .input.invalid{border-color:#F4A09C;box-shadow:0 0 0 3px rgba(244,160,156,.20)}
.apply-embed .qh{display:block;font-size:12.5px;color:var(--faint);font-weight:400;margin-top:3px;line-height:1.4}

.apply-embed .phone{display:flex;border:1px solid var(--line);border-radius:13px;overflow:hidden;background:var(--field-bg)}
.apply-embed .phone .cc{display:flex;align-items:center;gap:7px;padding:0 14px;background:rgba(255,255,255,.04);border-right:1px solid var(--line);font-weight:700;font-size:16px;color:var(--fg1)}
.apply-embed .phone .cc svg{width:16px;height:16px;color:var(--faint)}
.apply-embed .phone .input{border:0;border-radius:0}
.apply-embed .phone:focus-within{border-color:var(--primary);box-shadow:var(--focus)}

/* bigger, bolder Yes/No */
.apply-embed .seg{display:flex;gap:11px;position:relative}
.apply-embed .segr{position:absolute;width:0;height:0;opacity:0;pointer-events:none}
.apply-embed .seg label{flex:1;min-height:64px;display:flex;align-items:center;justify-content:center;border-radius:15px;border:1.5px solid var(--line2);background:var(--field-bg);color:var(--fg2);font-weight:700;font-size:18px;cursor:pointer;transition:.15s}
.apply-embed .seg label:hover{border-color:var(--primary)}
.apply-embed .segr:checked+label{background:var(--primary);color:var(--ink);border-color:var(--primary)}
.apply-embed .qrow{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:13px 0;border-bottom:1px solid var(--line)}
.apply-embed .qrow:last-child{border-bottom:0}
.apply-embed .qrow .ql{font-size:15px;color:var(--fg2);flex:1;line-height:1.35}
.apply-embed .qrow .qi{width:21px;height:21px;color:var(--primary);display:inline-block;vertical-align:-5px;margin-right:9px}
.apply-embed .qrow .seg{flex:0 0 auto;width:150px}
.apply-embed .qrow .seg label{min-height:46px;font-size:15px;border-radius:11px}

.apply-embed .chk{position:absolute;width:0;height:0;opacity:0;pointer-events:none}
.apply-embed .check-row{display:flex;gap:13px;align-items:flex-start;margin-top:18px;background:var(--field-bg);border:1px solid var(--line2);border-radius:var(--rsm);padding:16px;cursor:pointer}
.apply-embed .check-row .cb{flex:none;width:26px;height:26px;border-radius:7px;border:1.5px solid var(--line2);display:grid;place-items:center;margin-top:1px}
.apply-embed .check-row .cb svg{opacity:0;width:15px;height:15px;color:var(--ink)}
.apply-embed .chk:checked+.check-row .cb{background:var(--primary);border-color:var(--primary)}
.apply-embed .chk:checked+.check-row .cb svg{opacity:1}
.apply-embed .check-row .lab{font-size:15px;color:var(--fg2);line-height:1.5}
.apply-embed .check-row .lab small{color:var(--faint);display:block;margin-top:3px;font-size:13px}
.apply-embed #noCar:checked~#carFields{display:none}
.apply-embed .flow:has(#noCar:checked) .car-only, .apply-embed .flow.nocar .car-only{display:none}
.apply-embed .flow:has(#noCar:checked) .progress label[for=s2], .apply-embed .flow.nocar .progress label[for=s2]{display:none}
.apply-embed .pay-note{display:none}
.apply-embed .flow:has(#noCar:checked) .pay-note, .apply-embed .flow.nocar .pay-note{display:block}

/* uploads */
.apply-embed .uploads{display:grid;gap:11px;margin-top:8px}
.apply-embed .filein{position:absolute;width:0;height:0;opacity:0}
.apply-embed .upl{border:1px dashed var(--line2);border-radius:var(--rsm);padding:15px;display:flex;align-items:center;gap:13px;background:var(--field-bg);cursor:pointer}
.apply-embed .upl:hover{border-color:var(--primary)}
.apply-embed .upl.has-file{border-style:solid;border-color:var(--primary)}
.apply-embed .upl.has-file .ico{background:var(--primary);color:var(--ink)}
.apply-embed .upl.invalid{border-color:#e0533d}
.apply-embed .show-self, .apply-embed .show-biz{display:none}
.apply-embed .show-ind{display:none}
.apply-embed .flow:has(#emp option[value="emp"]:checked) .show-ind, .apply-embed .flow:has(#emp option[value="unemp"]:checked) .show-ind, .apply-embed .flow:has(#emp option[value="self"]:checked) .show-ind{display:block}
.apply-embed .flow:has(#emp option[value="self"]:checked) .show-self, .apply-embed .flow:has(#emp option[value="biz"]:checked) .show-self{display:block}
.apply-embed .flow:has(#emp option[value="biz"]:checked) .show-biz{display:block}
.apply-embed .flow:has(#emp option[value="biz"]:checked) .hide-biz{display:none}
.apply-embed .upl .ico{width:44px;height:44px;border-radius:50%;background:rgba(155,238,104,.12);display:grid;place-items:center;color:var(--primary);flex:none}
.apply-embed .upl .ico svg{width:20px;height:20px}
.apply-embed .upl .t{font-weight:600;font-size:15.5px;color:var(--fg1);display:block}
.apply-embed .upl .d{font-size:13px;color:var(--faint);display:block;margin-top:2px}
.apply-embed .upl .v{font-size:12px;color:var(--primary);margin-top:2px;display:block}
.apply-embed .biz{display:none;gap:11px;margin-top:11px;grid-template-columns:1fr}
.apply-embed .biz.show{display:grid}
.apply-embed .flow:has(#emp option[value="self"]:checked) .biz, .apply-embed .flow:has(#emp option[value="biz"]:checked) .biz{display:grid}
.apply-embed .alert{display:flex;gap:12px;align-items:flex-start;background:rgba(255,255,255,.03);border:1px solid var(--line2);border-radius:var(--rsm);padding:15px 16px;margin-top:16px}
.apply-embed .alert svg{flex:0 0 20px;color:var(--primary);margin-top:2px}
.apply-embed .alert .t{font-family:var(--fd);font-size:15px;color:var(--fg1)}
.apply-embed .alert .b{font-size:14px;color:var(--muted);margin-top:3px}

.apply-embed .recap{border:1px solid var(--line);border-radius:var(--r);padding:4px 16px;margin-top:14px;background:var(--field-bg)}
.apply-embed .recap h3{font-size:12.5px;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:var(--muted);padding:14px 0 10px;border-bottom:1px solid var(--line)}
.apply-embed .recap .rhead{display:flex;justify-content:space-between;align-items:center;padding:14px 0 10px;border-bottom:1px solid var(--line)}
.apply-embed .recap .rhead h3{padding:0;border:0}
.apply-embed .redit{color:var(--primary);font-weight:700;font-size:14px;cursor:pointer}
.apply-embed .kv{display:flex;justify-content:space-between;gap:14px;padding:11px 0;font-size:15px;border-bottom:1px solid rgba(255,255,255,.06)}
.apply-embed .kv:last-child{border-bottom:0}
.apply-embed .kv .k{color:var(--muted);display:inline-flex;align-items:center}
.apply-embed .kvi{width:16px;height:16px;color:var(--primary);margin-right:9px;flex:none}
.apply-embed .kv .v{text-align:right;font-weight:500;color:var(--fg1)}

.apply-embed .actions{position:sticky;bottom:0;z-index:5;display:flex;gap:10px;margin-top:16px;padding:16px 0 max(14px,env(safe-area-inset-bottom));background:linear-gradient(180deg,rgba(23,23,23,0),var(--surface) 26%);backdrop-filter:blur(3px);-webkit-backdrop-filter:blur(3px)}
.apply-embed .btn{font-family:var(--fd);font-size:20px;border:1.5px solid transparent;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;gap:10px;border-radius:var(--pill);padding:14px 22px;transition:.25s;text-align:center}
.apply-embed .btn--primary{flex:1;background:var(--primary);color:var(--ink)}
.apply-embed .btn--primary:hover{background:var(--primary-hover)}
.apply-embed .btn--ghost{background:transparent;color:var(--fg1);border-color:var(--line2);padding:13px 20px}
.apply-embed .btn--ghost:hover{border-color:var(--primary)}
.apply-embed .btn svg{width:18px;height:18px}
.apply-embed .h1c{font-family:var(--fd);font-weight:400;font-size:clamp(23px,6.4vw,28px);line-height:1.12;color:var(--fg1)}
.apply-embed .benefits-line{color:var(--muted);font-size:13.5px;margin-top:7px}
.apply-embed .field{position:relative}
.apply-embed .fi{position:absolute;left:14px;top:50%;transform:translateY(-50%);width:19px;height:19px;color:var(--muted);pointer-events:none}
.apply-embed .input.has-icon{padding-left:42px}
.apply-embed .mm-list{position:absolute;left:0;right:0;top:100%;margin-top:4px;max-height:220px;overflow-y:auto;z-index:30;list-style:none;background:var(--surface);border:1px solid var(--line2);border-radius:var(--rsm);box-shadow:var(--shadow);padding:4px}
.apply-embed .mm-list[hidden]{display:none}
.apply-embed .mm-list li{padding:10px 12px;border-radius:9px;font-size:14px;color:var(--fg1);cursor:pointer}
.apply-embed .mm-list li:hover, .apply-embed .mm-list li.active{background:rgba(155,238,104,.14);color:var(--primary)}
.apply-embed .actions-col{flex-direction:column}
.apply-embed .actions-col .btn{width:100%}
.apply-embed .btn--wa{background:var(--primary);color:var(--ink);border-color:transparent}
.apply-embed .btn--wa svg{color:var(--ink)}
.apply-embed .btn--wa:hover{background:var(--primary-hover);border-color:transparent}
.apply-embed .btn--wa2{background:#0F0F0F;color:var(--primary);border:1.6px solid var(--primary)}
.apply-embed .btn--wa2 svg{width:26px;height:26px;color:var(--primary)}
.apply-embed .btn--wa2:hover{background:#161616;border-color:var(--primary)}
.apply-embed .check-compact{padding:13px;margin-top:14px}
.apply-embed .btn--icon{flex:0 0 auto;width:60px;padding:0;justify-content:center}
.apply-embed .phone .ccsel{border:0;border-right:1px solid var(--line);background:rgba(255,255,255,.04);color:var(--fg1);font-weight:700;font-size:15px;padding:0 10px;outline:none;cursor:pointer;-webkit-appearance:none;appearance:none;border-radius:0;max-width:108px}
.apply-embed .phone .phone-in{border:0}
.apply-embed select.input:required:invalid{color:var(--faint)}
.apply-embed input:-webkit-autofill, .apply-embed input:-webkit-autofill:hover, .apply-embed input:-webkit-autofill:focus, .apply-embed input:autofill{-webkit-text-fill-color:var(--fg1);-webkit-box-shadow:0 0 0 1000px var(--field-bg) inset;caret-color:var(--fg1);transition:background-color 9999s}
.apply-embed .legal{text-align:center;font-size:13px;color:var(--faint);margin:14px 4px 20px;line-height:1.6}
.apply-embed .legal a{color:var(--muted)}

.apply-embed .success{text-align:center;padding:24px 6px}
.apply-embed .tick{width:90px;height:90px;border-radius:50%;margin:6px auto 18px;display:grid;place-items:center;background:radial-gradient(circle at 50% 40%,rgba(155,238,104,.14),transparent 70%);border:1.5px solid rgba(155,238,104,.5)}
.apply-embed .tick svg{width:40px;height:40px;color:var(--primary)}
.apply-embed .success h1{font-size:32px;color:var(--primary)}
.apply-embed .success p{color:var(--muted);font-size:16px;max-width:340px;margin:13px auto 18px}
.apply-embed .contacts{display:grid;grid-template-columns:repeat(3,1fr);gap:11px;margin:0 auto;max-width:360px}
.apply-embed .contacts a{background:var(--field-bg);border:1px solid var(--line2);border-radius:var(--rsm);padding:15px 8px;text-decoration:none;color:var(--fg2);font-size:13px;font-weight:500;display:grid;gap:8px;justify-items:center}
.apply-embed .contacts a svg{color:var(--primary);width:20px;height:20px}
.apply-embed .contacts a small{color:var(--faint);font-size:12px}
.apply-embed .btn--primary.is-locked{opacity:.45;filter:grayscale(.35);cursor:not-allowed;box-shadow:none}
.apply-embed .btn--primary.is-locked svg{opacity:.7}
.apply-embed .barbtn.is-locked{opacity:.4;cursor:not-allowed}
.apply-embed .input.invalid, .apply-embed .field.invalid .input{border-color:#e0533d!important}
.apply-embed .amount__val.invalid{border-color:#e0533d!important}
.apply-embed .upl.invalid{border-color:#e0533d!important}
.apply-embed .amount.invalid{outline:2px solid rgba(224,83,61,.85);border-radius:14px}
.apply-embed .phone.invalid{outline:2px solid rgba(224,83,61,.85);border-radius:13px}
.apply-embed .qrow.invalid .seg label{border-color:#e0533d}
.apply-embed .check-row.invalid .cb{border-color:#e0533d;box-shadow:0 0 0 3px rgba(224,83,61,.18)}
@keyframes shk{10%,90%{transform:translateX(-1px)}20%,80%{transform:translateX(2px)}30%,50%,70%{transform:translateX(-4px)}40%,60%{transform:translateX(4px)}}
.apply-embed .shake{animation:shk .4s cubic-bezier(.36,.07,.19,.97)}

/* WhatsApp FAB + modal */
.apply-embed .wa-fab{position:fixed;right:16px;bottom:96px;z-index:60;width:56px;height:56px;border-radius:50%;background:#0F0F0F;border:1.6px solid var(--primary);display:grid;place-items:center;cursor:pointer;box-shadow:0 12px 26px -8px rgba(0,0,0,.75)}
.apply-embed .wa-fab svg{width:28px;height:28px;color:var(--primary)}
.apply-embed .wa-fab:hover{background:#161616}
.apply-embed .wa-ov{position:fixed;inset:0;z-index:70;background:rgba(0,0,0,.6);display:none;align-items:flex-end;justify-content:center}
.apply-embed .wa-ov.open{display:flex}
.apply-embed .wa-card{position:relative;background:var(--surface);border:1px solid var(--line2);border-radius:24px 24px 0 0;width:100%;max-width:480px;padding:22px 18px max(20px,env(safe-area-inset-bottom));animation:rise .3s ease both}
@media(min-width:520px){.apply-embed .wa-ov{align-items:center}.apply-embed .wa-card{border-radius:24px;margin:0 16px}}
.apply-embed .wa-card h3{font-family:var(--fd);font-weight:400;font-size:22px;color:var(--fg1)}
.apply-embed .wa-card p.s{color:var(--muted);font-size:14px;margin:7px 0 16px}
.apply-embed .wa-opt{display:flex;align-items:center;gap:12px;width:100%;text-align:left;background:var(--field-bg);border:1px solid var(--line2);border-radius:14px;padding:15px 16px;margin-bottom:10px;color:var(--fg1);font-size:15.5px;font-weight:500;cursor:pointer;font-family:var(--fb);line-height:1.35}
.apply-embed .wa-opt:hover{border-color:var(--primary)}
.apply-embed .wa-opt .wi{width:22px;height:22px;color:var(--primary);flex:none}
.apply-embed .wa-x{position:absolute;top:16px;right:18px;color:var(--muted);background:none;border:0;font-size:26px;cursor:pointer;line-height:1}
/* success screen */
.apply-embed .success .thx{color:var(--fg2);font-size:16px;margin-top:8px}
.apply-embed .wa-promo{margin-top:22px;background:radial-gradient(120% 80% at 50% 0,rgba(155,238,104,.10),transparent 70%),var(--field-bg);border:1px solid var(--line2);border-radius:24px;padding:22px 18px;text-align:center}
.apply-embed .eyebrow2{font-weight:700;font-size:12px;letter-spacing:.16em;color:var(--primary);text-transform:uppercase}
.apply-embed .wp-h{font-family:var(--fd);font-weight:400;font-size:24px;color:var(--fg1);margin-top:10px}
.apply-embed .wp-p{color:var(--muted);font-size:15px;line-height:1.6;margin:10px auto 0;max-width:380px}
.apply-embed .wp-p b{color:var(--fg1)}
.apply-embed .wp-btn{width:100%;margin-top:18px;box-shadow:0 0 26px -6px rgba(155,238,104,.5)}
.apply-embed .wp-sub{color:var(--faint);font-size:13px;margin-top:10px}
.apply-embed .hours{margin:18px auto 0;background:var(--field-bg);border:1px solid var(--line);border-radius:14px;padding:13px 16px;font-size:14.5px;color:var(--muted);max-width:420px}
.apply-embed .hours b{color:var(--primary)}
.apply-embed .another{color:var(--muted);font-size:14px;margin-top:18px}
.apply-embed .contacts2{grid-template-columns:repeat(2,1fr);margin-top:10px}
.apply-embed .back-home{margin-top:18px}
.apply-embed .bh-link{display:inline-flex;align-items:center;gap:8px;color:var(--faint);font-size:14px;cursor:pointer}
.apply-embed .bh-link svg{width:15px;height:15px}
.apply-embed .bh-link:hover{color:var(--muted)}
.apply-embed .copyr{color:var(--faint);font-size:12.5px;margin-top:20px}
.apply-embed .success h1.reject-h{color:#F4A09C}
.apply-embed .tick.reject{border-color:rgba(244,160,156,.5);background:radial-gradient(circle at 50% 40%,rgba(244,160,156,.14),transparent 70%)}
.apply-embed .tick.reject svg{color:#F4A09C}
.apply-embed .pay-btn{display:flex;align-items:center;justify-content:center;gap:10px;width:100%;max-width:460px;margin:18px auto 0;background:var(--field-bg);border:1.5px solid var(--primary);border-radius:20px;padding:20px;color:var(--fg1);font-family:var(--fd);font-size:17px;box-shadow:0 0 26px -10px rgba(155,238,104,.5);text-decoration:none}
.apply-embed .pay-btn:hover{background:#161616}
.apply-embed .req-note{max-width:480px;margin:10px auto 0;font-size:12.5px;color:var(--faint);line-height:1.6;text-align:center}
.apply-embed .req-note b{color:var(--muted)}
.apply-embed .secure-note{display:flex;align-items:center;gap:10px;background:rgba(155,238,104,.06);border:1px solid rgba(155,238,104,.25);border-radius:13px;padding:12px 14px;margin-top:12px;font-size:13px;color:var(--muted);line-height:1.5}
.apply-embed .secure-note svg{width:18px;height:18px;color:var(--primary);flex:none}
.apply-embed .secure-note b{color:var(--fg2);font-weight:600}
.apply-embed .sec-line{display:flex;align-items:flex-start;gap:7px;font-size:12.5px;color:var(--muted);margin:7px 0 2px;line-height:1.4}
.apply-embed .sec-line svg{width:14px;height:14px;color:var(--primary);flex:none;margin-top:2px}

@keyframes poGlow{0%,100%{box-shadow:0 0 14px rgba(155,238,104,.16)}50%{box-shadow:0 0 0 3px rgba(155,238,104,.12),0 0 32px rgba(155,238,104,.42)}}
@keyframes poIn{from{opacity:0;transform:translateY(-7px)}to{opacity:1;transform:none}}
@keyframes poShine{0%{left:-60%}55%,100%{left:150%}}
@keyframes poPop{0%{transform:scale(.4);opacity:0}60%{transform:scale(1.18)}100%{transform:scale(1);opacity:1}}
.apply-embed #preoffer.po-ok{background:linear-gradient(135deg,rgba(155,238,104,.18),rgba(155,238,104,.05));border:1.5px solid rgba(155,238,104,.6);color:#E6F7D8;position:relative;overflow:hidden;padding:15px 16px;animation:poGlow 2.2s ease-in-out infinite,poIn .4s ease both}
.apply-embed #preoffer.po-ok .po-row{display:flex;align-items:center;gap:13px}
.apply-embed #preoffer.po-ok .po-ico{flex:0 0 auto;width:42px;height:42px;border-radius:50%;background:#9BEE68;display:flex;align-items:center;justify-content:center;color:#0b0f0a;font-size:24px;font-weight:800;box-shadow:0 0 0 6px rgba(155,238,104,.15);animation:poPop .5s ease both}
.apply-embed #preoffer.po-ok .po-badge{display:inline-block;background:#9BEE68;color:#0b1207;font-size:10.5px;font-weight:800;letter-spacing:.1em;padding:3px 9px;border-radius:999px;margin-bottom:6px}
.apply-embed #preoffer.po-ok b{color:#BFF29A}
.apply-embed #preoffer.po-ok .po-shine{position:absolute;top:0;left:-60%;width:45%;height:100%;background:linear-gradient(100deg,transparent,rgba(255,255,255,.22),transparent);transform:skewX(-18deg);animation:poShine 3.6s ease-in-out infinite;pointer-events:none}
.apply-embed #preoffer.po-bad{background:rgba(155,238,104,.08);border:1px solid rgba(155,238,104,.45);color:var(--body);animation:poIn .35s ease both}
@media (prefers-reduced-motion:reduce){.apply-embed #preoffer.po-ok, .apply-embed #preoffer.po-ok .po-ico{animation:poIn .3s ease both}.apply-embed #preoffer.po-ok .po-shine{display:none}}
/* ===== Variant C — compact: fit the qualifier on one mobile screen ===== */
.apply-embed .shell{padding:6px 14px 10px}
.apply-embed .brand{margin-bottom:5px}
.apply-embed .brand img{height:34px!important}
.apply-embed .progress .meta{display:none}
.apply-embed .skip-link{display:block;width:100%;margin-top:12px;background:none;border:0;color:var(--muted);font-family:var(--fb);font-size:15px;font-weight:600;cursor:pointer;padding:8px;text-align:center}
.apply-embed .skip-link:hover{color:var(--fg2)}
.apply-embed .progress{margin:0 0 6px}
.apply-embed .card{padding:10px 13px}
.apply-embed #step0 .h1c{font-size:clamp(18px,5vw,22px);line-height:1.06}
.apply-embed #step0 .benefits-line{font-size:11.5px;margin-top:3px;white-space:nowrap}
.apply-embed #step0 .calc{margin-top:8px;padding:6px 11px}
.apply-embed #step0 .calc__val .amount__val{font-size:17px}
.apply-embed #step0 .ticks{margin-top:2px}
.apply-embed #step0 [style*="margin-top"]{margin-top:8px!important}
.apply-embed #step0 .row{gap:9px}
.apply-embed #step0 .group{margin-top:8px}
.apply-embed #step0 .group[style*="margin-top:0"]{margin-top:0!important}
.apply-embed #step0 .input{min-height:44px;padding:9px 13px;font-size:14px;border-radius:11px}
.apply-embed #step0 .input.has-icon{padding-left:40px}
.apply-embed #step0 .phone .input{border-radius:0}
.apply-embed #step0 select.input{background-position:right 11px center;padding-right:30px}
.apply-embed #step0 select.input.has-icon{padding-right:30px}
.apply-embed #step0 label.fl{font-size:12px;margin:0 0 3px 2px}
.apply-embed #step0 .check-compact{margin-top:8px!important;padding:8px 12px}
.apply-embed #step0 .qrow{padding:7px 0}
.apply-embed #step0 .qrow .ql{font-size:12.5px;line-height:1.22}
.apply-embed #step0 .seg label{padding:7px 13px}
.apply-embed #step0 .hint{display:none}
.apply-embed #step0 .actions{margin-top:8px;padding:8px 0 max(6px,env(safe-area-inset-bottom))}
.apply-embed #step0 .actions .btn{font-size:17px;padding:10px 18px}
.apply-embed .legal{margin:7px 4px 10px;font-size:11.5px}
.apply-embed .subh{font-family:var(--fd);font-size:13px;color:var(--primary);letter-spacing:.06em;text-transform:uppercase;margin:14px 2px 8px}
.apply-embed .amt-q{display:block;font-family:var(--fd);font-size:13px;color:var(--primary);letter-spacing:.06em;text-transform:uppercase;margin:12px 2px 8px}
.apply-embed .docs-h{font-family:var(--fd);font-weight:400;font-size:18px;color:var(--fg1);margin:16px 0 3px}
.apply-embed #step0 .subh{margin:10px 2px 6px}
.apply-embed #step0 .amt-q{font-size:13px;margin:10px 2px 6px}
/* ===== Responsive: fit every device, nothing overflows ===== */

.apply-embed .shell{width:100%}
.apply-embed img, .apply-embed svg{max-width:100%}
.apply-embed .input, .apply-embed .amount__val, .apply-embed .ccsel{max-width:100%}
.apply-embed .recap .kv{flex-wrap:wrap;row-gap:2px}
.apply-embed .recap .v{word-break:break-word}
@media (max-width:430px){
  .apply-embed .qrow{flex-wrap:wrap;row-gap:8px}
  .apply-embed .qrow .seg{margin-left:0}
}
@media (max-width:360px){
  .apply-embed .shell{padding-left:11px;padding-right:11px}
  .apply-embed .row{grid-template-columns:1fr}
  .apply-embed .seg label{padding-left:14px;padding-right:14px}
  .apply-embed .btn{font-size:16px;padding-left:14px;padding-right:14px}
}
@media (min-width:560px){
  .apply-embed .shell{max-width:520px}
}
