/* =============================================================================
   Join forms — styles lifted from the design file (Vendor/Join.html), with three
   things left out on purpose:

   · the preview harness (.harness/.hbtn/.hsep) — a tool for looking at the design,
     not part of it
   · the vendor/driver switch (.switch/.swbtn/.pane) — the two forms are separate
     PAGES here, so a control that swaps between them has nothing to swap
   · the design's own logo lockup inside the hero — these pages wear the site's
     header and footer from chrome.css like every other page

   Everything else is the design's values, unchanged.
   ============================================================================= */
:root{
 --navy:#16213A;--navy-2:#1E2C4A;--navy-3:#27385C;--navy-deep:#0D1420;
 --pop:#F97316;--pop-hi:#FB7A1E;--pop-lo:#F0640A;
 --ink:#101626;--ink-2:#515C6E;--ink-3:#646e7d;
 --bg:#fff;--s2:#F6F7F9;--s3:#EDEFF3;--line:#E4E7EC;
 --green:#15803D;--green-bg:#E9F6EE;--red:#C0322F;--red-bg:#FDECEC;
 --r:16px;--r-card:26px;--r-pill:999px;
 --display:'Fredoka','IBM Plex Sans Arabic',sans-serif;
}
*{box-sizing:border-box}html,body{margin:0}
html{scroll-behavior:smooth}
body{font-family:"IBM Plex Sans Arabic",system-ui,sans-serif;color:var(--ink);background:#F1F3F6;-webkit-font-smoothing:antialiased}
button,input,select{font-family:inherit}
a{color:var(--navy);text-decoration:none}a:hover{color:var(--pop)}
img{display:block;max-width:100%}
.num{font-variant-numeric:tabular-nums lining-nums;font-feature-settings:"tnum" 1;direction:ltr;unicode-bidi:isolate}
.ltr{direction:ltr;unicode-bidi:isolate}

/* ===== the header bar over this hero =====
   chrome.css owns the header COMPONENT but deliberately not the bar's own
   background, because that depends on what scrolls underneath it. These pages
   put a navy hero under it, so the rule belongs here — the same one features.html
   and privacy.html carry.

   Omitting it is what produced a white bar with a white wordmark on it: the
   markup said `on-dark`, nothing made the ground dark, and the logo and menu
   were invisible. Marking an element for a dark background is not the same as
   giving it one. */
header.nav{position:fixed;top:0;left:0;right:0;z-index:80;transition:background .3s,box-shadow .3s,border-color .3s;border-bottom:1px solid transparent}
header.nav.scrolled{background:rgba(255,255,255,.86);backdrop-filter:saturate(1.6) blur(18px);border-bottom-color:var(--line)}

/* ===== section shell =====
   padding-top carries the site header, which is fixed and 78px tall on these
   pages; the design was drawn with no header above it. */
.join{background:
  radial-gradient(1100px 520px at 88% -8%,rgba(249,115,22,.13),transparent 62%),
  linear-gradient(180deg,#16213A 0%,#16213A 58%,#101A2F 100%);
 padding:142px 24px 78px;position:relative;overflow:hidden}
.join::after{content:"";position:absolute;inset-inline-start:-140px;bottom:-190px;width:520px;height:520px;border-radius:50%;background:rgba(255,255,255,.032);pointer-events:none}
.wrap{max-width:1180px;margin:0 auto;position:relative}
.jhead{display:flex;flex-direction:column;align-items:center;text-align:center;gap:16px;margin-bottom:34px}
.eyebrow{display:inline-flex;align-items:center;gap:8px;font-size:13px;font-weight:700;color:#FFD3AE;background:rgba(249,115,22,.15);border:1px solid rgba(249,115,22,.34);border-radius:999px;padding:7px 16px}
.eyebrow svg{width:15px;height:15px;stroke:currentColor;fill:none;stroke-width:2.2}
.jhead h2{margin:0;font-size:clamp(30px,4.4vw,46px);font-weight:700;color:#fff;letter-spacing:-.02em;line-height:1.24;text-wrap:balance}
.jhead p{margin:0;max-width:560px;font-size:16.5px;line-height:1.85;color:#A9B7D1;text-wrap:pretty}

/* the other form, offered as a link rather than a tab */
.otherway{display:inline-flex;align-items:center;gap:9px;margin-top:2px;font-size:14.5px;font-weight:600;color:#B7C4DC;background:rgba(255,255,255,.07);border:1px solid rgba(255,255,255,.12);border-radius:var(--r-pill);padding:11px 20px;transition:background .16s,color .16s}
.otherway:hover{background:rgba(255,255,255,.12);color:#fff}
.otherway svg{width:18px;height:18px;stroke:currentColor;fill:none;stroke-width:2}

/* panes */
.grid{display:grid;grid-template-columns:1fr 396px;gap:22px;align-items:start}
.grid.solo{grid-template-columns:minmax(0,760px);justify-content:center}
.card{background:var(--bg);border-radius:var(--r-card);box-shadow:0 40px 80px -34px rgba(9,15,32,.62),0 2px 5px rgba(9,15,32,.2);overflow:hidden}
.ctop{padding:26px 30px 0;display:flex;align-items:flex-start;gap:14px}
.ctop .ci{width:46px;height:46px;border-radius:14px;background:var(--navy);display:grid;place-items:center;flex:0 0 46px}
.ctop .ci svg{width:23px;height:23px;stroke:#fff;fill:none;stroke-width:2}
.ctop h3{margin:0 0 5px;font-size:21px;font-weight:700;letter-spacing:-.01em}
.ctop p{margin:0;font-size:14px;color:var(--ink-2);line-height:1.75}
.cbody{padding:22px 30px 30px}

/* toggle: single vs chain */
.seg{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-bottom:24px}
.segopt{position:relative;display:flex;align-items:flex-start;gap:11px;padding:15px 16px;border:1.5px solid var(--line);border-radius:var(--r);background:#fff;cursor:pointer;text-align:start;transition:border-color .16s,background .16s}
.segopt:hover{border-color:#C9CFDA}
.segopt .rd{width:19px;height:19px;border-radius:50%;border:2px solid #C9CFDA;flex:0 0 19px;margin-top:2px;display:grid;place-items:center;transition:border-color .16s}
.segopt.on{border-color:var(--pop);background:#FFF8F2}
.segopt.on .rd{border-color:var(--pop)}
.segopt.on .rd::after{content:"";width:10px;height:10px;border-radius:50%;background:var(--pop)}
.segopt .sg{display:flex;flex-direction:column;gap:3px;min-width:0}
.segopt .sg b{font-size:15px;font-weight:700}
.segopt .sg span{font-size:12.5px;color:var(--ink-3);line-height:1.6}

/* fields */
.frow{display:grid;grid-template-columns:1fr 1fr;gap:15px;margin-bottom:15px}
.frow.one{grid-template-columns:1fr}
.field{display:flex;flex-direction:column;gap:8px;min-width:0}
.field label{font-size:13.5px;font-weight:600;color:var(--ink-2)}
.field label i{color:var(--pop);font-style:normal;margin-inline-start:2px}
.ctl{position:relative;display:flex}
.ctl>input,.ctl>select{width:100%;height:54px;border:1.5px solid var(--line);border-radius:var(--r);background:#fff;padding:0 16px;font-size:15px;color:var(--ink);transition:border-color .16s,box-shadow .16s}
.ctl>select{cursor:pointer;appearance:none;padding-inline-end:44px}
.ctl>input::placeholder{color:#AEB6C2}
.ctl>input:focus,.ctl>select:focus{outline:none;border-color:var(--navy-3);box-shadow:0 0 0 4px rgba(39,56,92,.11)}
.ctl .caret{position:absolute;inset-inline-end:15px;top:0;bottom:0;display:grid;place-items:center;pointer-events:none}
.ctl .caret svg{width:17px;height:17px;stroke:var(--ink-3);fill:none;stroke-width:2.2}
.ctl.phone>input{direction:ltr;text-align:left;padding-inline-start:78px;letter-spacing:.4px}
.ctl .pre{position:absolute;inset-inline-start:0;top:0;bottom:0;width:66px;display:grid;place-items:center;font-size:14.5px;font-weight:700;color:var(--ink-2);background:var(--s2);border-inline-end:1.5px solid var(--line);border-start-start-radius:var(--r);border-end-start-radius:var(--r);direction:ltr}
.ctl.en>input{direction:ltr;text-align:left}
.field.bad .ctl>input,.field.bad .ctl>select{border-color:var(--red);background:#FFFAFA}
.ferr{display:none;align-items:center;gap:6px;font-size:12.5px;font-weight:600;color:var(--red)}
.ferr svg{width:14px;height:14px;stroke:currentColor;fill:none;stroke-width:2.2;flex:0 0 14px}
.field.bad .ferr{display:flex}
.branches{display:none}.branches.on{display:grid}

/* submit */
.sub{margin-top:24px}
.btn{width:100%;height:60px;border:none;border-radius:var(--r-pill);background:#C2410C;color:#fff;font-size:16.5px;font-weight:700;display:flex;align-items:center;justify-content:center;gap:11px;cursor:pointer;box-shadow:0 14px 30px -12px rgba(240,100,10,.62);transition:filter .16s,box-shadow .16s}
.btn:hover{filter:brightness(1.05)}
.btn svg{width:19px;height:19px;stroke:#fff;fill:none;stroke-width:2.3}
.btn[disabled]{cursor:default;filter:saturate(.55) brightness(.99);box-shadow:none}
.spin{width:18px;height:18px;border-radius:50%;border:2.4px solid rgba(255,255,255,.42);border-top-color:#fff;animation:sp .75s linear infinite}
@keyframes sp{to{transform:rotate(360deg)}}
.legal{margin:15px 0 0;font-size:12.5px;color:var(--ink-3);line-height:1.8;text-align:center}

/* A request that did not reach the server. Separate from per-field errors: nothing
   the visitor typed is wrong, so it must not look like their mistake. */
.sendfail{display:none;align-items:flex-start;gap:9px;margin-top:15px;padding:13px 15px;border-radius:var(--r);background:var(--red-bg);border:1px solid rgba(192,50,47,.28);font-size:13.5px;font-weight:600;color:var(--red);line-height:1.7}
.sendfail.on{display:flex}
.sendfail svg{width:17px;height:17px;stroke:currentColor;fill:none;stroke-width:2.2;flex:0 0 17px;margin-top:2px}

/* success */
.done{display:none;padding:52px 34px 46px;text-align:center;flex-direction:column;align-items:center;gap:17px}
.done.on{display:flex}
.done .dm{width:82px;height:82px;border-radius:26px;background:var(--green-bg);display:grid;place-items:center}
.done .dm svg{width:40px;height:40px;stroke:var(--green);fill:none;stroke-width:2.6}
.done h3{margin:0;font-size:25px;font-weight:700;letter-spacing:-.01em}
.done p{margin:0;font-size:15.5px;color:var(--ink-2);line-height:1.85;max-width:430px}
.refbox{display:flex;align-items:center;gap:10px;background:var(--s2);border:1px dashed var(--line);border-radius:14px;padding:12px 18px;font-size:13.5px;color:var(--ink-2);font-weight:600}
.refbox b{font-family:ui-monospace,monospace;color:var(--ink);direction:ltr}
.steps{display:flex;flex-direction:column;gap:12px;width:100%;max-width:400px;margin-top:6px;text-align:start}
.stp{display:flex;align-items:flex-start;gap:12px;font-size:13.5px;color:var(--ink-2);line-height:1.7}
.stp span.n{width:25px;height:25px;border-radius:8px;background:var(--navy);color:#fff;font-size:12.5px;font-weight:700;display:grid;place-items:center;flex:0 0 25px}
.again{background:none;border:none;color:var(--ink-3);font-size:13px;font-weight:600;cursor:pointer;text-decoration:underline;padding:0;margin-top:4px}

/* requirements */
.req{background:linear-gradient(180deg,#1E2C4A,#141F38);border-radius:var(--r-card);padding:28px 26px;color:#fff;box-shadow:0 40px 80px -34px rgba(9,15,32,.62)}
.req h4{margin:0 0 6px;font-size:19px;font-weight:700;display:flex;align-items:center;gap:10px}
.req h4 svg{width:20px;height:20px;stroke:var(--pop);fill:none;stroke-width:2.2}
.req>p{margin:0 0 20px;font-size:13.5px;color:#9FB0CE;line-height:1.8}
.reqlist{display:flex;flex-direction:column;gap:3px}
.ri{display:flex;align-items:flex-start;gap:13px;padding:13px 0;border-bottom:1px solid rgba(255,255,255,.09)}
.ri:last-child{border-bottom:none}
.ri .rc{width:34px;height:34px;border-radius:11px;background:rgba(249,115,22,.15);border:1px solid rgba(249,115,22,.3);display:grid;place-items:center;flex:0 0 34px}
.ri .rc svg{width:17px;height:17px;stroke:var(--pop);fill:none;stroke-width:2}
.ri .rt{display:flex;flex-direction:column;gap:3px;min-width:0}
.ri .rt b{font-size:14.5px;font-weight:600;line-height:1.5}
.ri .rt span{font-size:12.5px;color:#93A4C2;line-height:1.65}
.reqfoot{margin-top:20px;padding-top:18px;border-top:1px solid rgba(255,255,255,.11);display:flex;gap:11px;align-items:flex-start;font-size:13px;color:#9FB0CE;line-height:1.75}
.reqfoot svg{width:17px;height:17px;stroke:var(--pop);fill:none;stroke-width:2;flex:0 0 17px;margin-top:2px}
.perk{display:flex;flex-direction:column;gap:11px;margin-top:22px}
.pk{display:flex;align-items:center;gap:11px;font-size:14px;font-weight:600}
.pk .pi{width:30px;height:30px;border-radius:9px;background:rgba(255,255,255,.09);display:grid;place-items:center;flex:0 0 30px}
.pk .pi svg{width:16px;height:16px;stroke:#fff;fill:none;stroke-width:2.1}

@media(max-width:940px){.grid,.grid.solo{grid-template-columns:1fr}.req{order:-1}}
@media(max-width:560px){
 .join{padding:110px 15px 56px}
 .frow,.seg{grid-template-columns:1fr}
 .ctop,.cbody{padding-inline:20px}
 .done{padding:40px 20px 34px}
}
