/* Public surfaces: landing page, signup, login, email confirmation.
   These are the only pages a signed-out visitor sees, so they carry their own
   layout rather than the app shell. */

/* ── Landing ─────────────────────────────────────────────────────────────── */
.lp{background:var(--warm-bg);color:var(--ink);min-height:100vh}
.lp-nav{position:sticky;top:0;z-index:5;display:flex;align-items:center;justify-content:space-between;
        padding:18px 48px;background:rgba(247,243,237,.82);backdrop-filter:blur(14px);
        border-bottom:1px solid var(--bd)}
/* ── The brand lockup ────────────────────────────────────────────────────
   One image, the same one the landing page uses, instead of the wolf mark and
   a text wordmark set beside it. Two files rather than one recoloured: the
   wordmark is dark on light surfaces and cream on dark ones, and the mark's
   copper gradient is identical in both. `_wolf_mark.html` is still the source
   for the agent avatar, which is the mark alone and is not this. */
.brand-lockup{display:inline-block}
.brand-logo{height:34px;width:auto;display:block}
/* 30px, ~161px wide. It is a mark in the corner of the panel, not the
   panel's subject — the headline under it is. */
.login-logo .brand-logo{height:30px}
@media (max-width:640px){ .brand-logo{height:28px} }

.lp-logo{display:flex;align-items:center;gap:13px}
.lp-logo .mk{width:42px;height:42px;background:var(--ink-900);border-radius:11px;display:flex;
        align-items:center;justify-content:center}
.lp-logo .mk svg{width:66%;height:66%}
.lp-wm{font-size:19px;font-weight:800;letter-spacing:2.4px;line-height:1}
.lp-wm span{color:var(--orange)}
.lp-navlinks{display:flex;align-items:center;gap:34px}
.lp-navlinks a{font-size:14.5px;font-weight:600;color:var(--bl-m);transition:color .15s}
.lp-navlinks a:hover{color:var(--ink)}
.lp-navcta{display:flex;align-items:center;gap:12px}
.lp-ghost{font-size:14px;font-weight:700;color:var(--ink);background:none;border:none;cursor:pointer;padding:10px 6px}
.lp-ghost:hover{color:var(--orange)}
.lp-solid{font-size:14px;font-weight:700;color:#fff;
        background:linear-gradient(135deg,var(--orange),var(--orange-deep));border:none;border-radius:10px;
        padding:11px 20px;cursor:pointer;transition:filter .15s;display:inline-block}
.lp-solid:hover{filter:brightness(1.08)}

.lp-hero{max-width:1180px;margin:0 auto;padding:92px 48px 72px;display:grid;
        grid-template-columns:1.05fr .95fr;gap:56px;align-items:center}
.lp-eyebrow{display:inline-flex;align-items:center;gap:8px;font-size:12px;font-weight:800;
        letter-spacing:1.6px;text-transform:uppercase;color:var(--orange);background:var(--orange-soft);
        border:1px solid rgba(173,101,44,.22);padding:7px 14px;border-radius:var(--r-pill)}
.lp-hero h1{font-size:60px;line-height:1.05;font-weight:800;letter-spacing:-1.8px;margin:22px 0 0;text-wrap:balance}
.lp-hero h1 em{font-style:normal;color:var(--orange)}
.lp-hero p{font-size:18px;line-height:1.62;color:var(--bl-m);font-weight:500;margin:22px 0 0;max-width:520px}
.lp-hero-cta{display:flex;gap:14px;margin-top:34px}
.lp-hero-cta .lp-solid{font-size:15.5px;padding:15px 28px;border-radius:12px}
.lp-outline{font-size:15.5px;font-weight:700;color:var(--ink);background:var(--w);
        border:1.5px solid var(--bd);border-radius:12px;padding:15px 28px;cursor:pointer;
        transition:border-color .15s;display:inline-block}
.lp-outline:hover{border-color:var(--ink)}
.lp-hero-stats{display:flex;gap:40px;margin-top:44px}
.lp-hero-stats .s-v{font-size:30px;font-weight:800;letter-spacing:-.6px}
.lp-hero-stats .s-l{font-size:13.5px;color:var(--bl-m);font-weight:600;margin-top:2px}

.lp-hero-visual{aspect-ratio:4/3.4;border-radius:22px;
        background:linear-gradient(150deg,#0F1923,#152230 55%,#1E2D3D);position:relative;overflow:hidden;
        box-shadow:0 30px 70px rgba(15,25,35,.28);display:flex;align-items:center;justify-content:center}
.lp-hero-visual::before{content:'';position:absolute;top:-90px;right:-90px;width:340px;height:340px;
        border-radius:50%;background:radial-gradient(circle,rgba(173,101,44,.4),transparent 62%)}
.lp-hv-card{position:relative;z-index:1;width:78%;background:rgba(255,255,255,.06);
        border:1px solid rgba(255,255,255,.12);border-radius:16px;padding:22px;backdrop-filter:blur(6px)}
.lp-hv-row{display:flex;align-items:center;gap:12px;padding:11px 0;border-bottom:1px solid rgba(255,255,255,.08)}
.lp-hv-row:last-child{border-bottom:none}
.lp-hv-dot{width:34px;height:34px;border-radius:9px;flex-shrink:0;background:rgba(173,101,44,.28);
        border:1px solid rgba(173,101,44,.5)}
.lp-hv-l1{height:9px;border-radius:5px;background:rgba(255,255,255,.34);width:60%}
.lp-hv-l2{height:8px;border-radius:5px;background:rgba(255,255,255,.15);width:82%;margin-top:7px}
.lp-hv-pill{margin-left:auto;font-size:11px;font-weight:700;color:var(--orange-glow-hi);
        background:rgba(173,101,44,.2);padding:4px 10px;border-radius:var(--r-pill)}

.lp-section{max-width:1180px;margin:0 auto;padding:40px 48px}
.lp-sec-h{text-align:center;max-width:640px;margin:0 auto 48px}
.lp-sec-h .lp-eyebrow{margin-bottom:16px}
.lp-sec-h h2{font-size:40px;font-weight:800;letter-spacing:-1px}
.lp-sec-h p{font-size:17px;color:var(--bl-m);line-height:1.6;margin:16px 0 0;font-weight:500}
.lp-feat{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}
.lp-fc{background:var(--w);border:1px solid var(--bd);border-radius:18px;padding:32px 28px;
        transition:box-shadow .18s,transform .18s}
.lp-fc:hover{box-shadow:0 20px 44px rgba(15,25,35,.1);transform:translateY(-3px)}
.lp-fc-ic{width:52px;height:52px;border-radius:13px;background:var(--orange-soft);color:var(--orange);
        display:flex;align-items:center;justify-content:center;margin-bottom:20px;font-size:20px;font-weight:800}
.lp-fc h3{font-size:20px;font-weight:800;margin:0 0 10px;letter-spacing:-.3px}
.lp-fc p{font-size:15px;color:var(--bl-m);line-height:1.6;font-weight:500}

.lp-band{background:linear-gradient(150deg,#0F1923,#152230 55%,#1E2D3D);border-radius:24px;
        margin:64px auto;max-width:1180px;padding:64px 56px;text-align:center;position:relative;overflow:hidden}
.lp-band::before{content:'';position:absolute;bottom:-120px;left:-80px;width:360px;height:360px;
        border-radius:50%;background:radial-gradient(circle,rgba(173,101,44,.28),transparent 60%)}
.lp-band h2{position:relative;z-index:1;font-size:42px;font-weight:800;color:#fff;letter-spacing:-1px}
.lp-band p{position:relative;z-index:1;font-size:18px;color:rgba(255,255,255,.72);max-width:560px;
        margin:18px auto 0;line-height:1.6;font-weight:500}
.lp-band-cta{position:relative;z-index:1;display:flex;gap:14px;justify-content:center;margin-top:34px}
.lp-band-cta .lp-outline{color:#fff;background:rgba(255,255,255,.08);border-color:rgba(255,255,255,.25)}
.lp-band-cta .lp-outline:hover{background:rgba(255,255,255,.14);border-color:rgba(255,255,255,.4)}
.lp-band-cta .lp-solid{font-size:15.5px;padding:15px 30px;border-radius:12px}

.lp-foot{border-top:1px solid var(--bd);padding:34px 48px;display:flex;align-items:center;
        justify-content:space-between;max-width:1180px;margin:0 auto}
.lp-foot span{font-size:13px;color:var(--bl-m);font-weight:500}
.lp-foot-links{display:flex;gap:26px}
.lp-foot-links a{font-size:13px;color:var(--bl-m);font-weight:600}
.lp-foot-links a:hover{color:var(--ink)}

@media(max-width:900px){
  .lp-hero{grid-template-columns:1fr;padding-top:56px}
  .lp-hero h1{font-size:42px}
  .lp-navlinks{display:none}
  .lp-feat{grid-template-columns:1fr}
  .lp-nav,.lp-section,.lp-foot{padding-left:22px;padding-right:22px}
  .lp-band{padding:44px 24px;margin:44px 22px}
}

/* ── Dark auth surface (signup + login) ──────────────────────────────────── */
.auth-screen{min-height:100vh;background:#1A140E;color:#F1E7D8;display:flex;flex-direction:column}
.auth-top{display:flex;align-items:center;justify-content:space-between;padding:20px 40px}
.auth-top .lp-wm{color:#F1E7D8}
.auth-back{font-size:13.5px;font-weight:600;color:#B7A68F}
.auth-back:hover{color:#F1E7D8}
.auth-wrap{flex:1;display:flex;align-items:flex-start;justify-content:center;padding:24px 20px 64px}
.auth-card{width:100%;max-width:560px;background:#241C14;border:1px solid #3A2E20;border-radius:20px;
        padding:34px 34px 30px}
.auth-card.slim{max-width:440px}
.auth-card h1{font-size:28px;font-weight:800;letter-spacing:-.6px;color:#F7F1E6}
.auth-card .sub{font-size:14.5px;color:#B7A68F;margin-top:8px;line-height:1.55}
.auth-seg{display:flex;gap:6px;padding:5px;background:#150F0A;border:1px solid #3A2E20;
        border-radius:12px;margin:24px 0}
.auth-seg button{flex:1;font-size:13.5px;font-weight:700;color:#B7A68F;background:none;border:none;
        border-radius:8px;padding:11px;cursor:pointer;transition:all .15s}
.auth-seg button.on{background:#2E241A;color:var(--orange-glow-hi);box-shadow:0 1px 4px rgba(0,0,0,.4)}
.auth-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}
/* `min-width:0` IS LOAD-BEARING AND IT IS ABOUT THE <select> INSIDE.
 *
 * A grid item's automatic minimum size is its content's min-content width, and
 * a select's min-content width is its WIDEST OPTION. While the country list was
 * six Gulf countries, its widest option fitted inside a 1fr track and nothing
 * showed. With all 248, "South Georgia and the South Sandwich Islands" set the
 * floor: the track could not shrink to its share, the grid overflowed the
 * card's 464px content box by 143px, and every field in it ran past the card's
 * padding while the submit button — which is outside the grid and sized by the
 * card — stayed where it was. The symptom reads as a button too narrow for the
 * form; the cause is the form too wide for the card.
 *
 * So the tracks are allowed to shrink and the select clips its own text, which
 * is what a select does natively and what the country field wants: the chosen
 * option is readable, the longest one in the list is not allowed to set the
 * width of the page. */
.auth-f{display:flex;flex-direction:column;gap:7px;min-width:0}
.auth-f.full{grid-column:1/-1}
.auth-f label{font-size:12px;font-weight:700;color:#CBBBA4;letter-spacing:.2px}
.auth-f input,.auth-f select{font-family:inherit;font-size:14.5px;color:#F7F1E6;background:#150F0A;
        border:1.5px solid #3A2E20;border-radius:12px;padding:15px 16px;outline:none}
.auth-f input::placeholder{color:#6F614F}
.auth-f input:focus,.auth-f select:focus{border-color:var(--orange-glow-hi)}
.auth-f input.invalid,.auth-f select.invalid{border-color:#F87171}
.auth-f .err{font-size:11.5px;color:#F8A29B;font-weight:600}
.auth-phone{display:flex;gap:8px}
/* `min-width:0` for the same reason one line up, and here it is the main axis:
 * a flex item cannot shrink below its min-content width either, so the dial
 * select would ignore its own 116px basis if an option were wider. The labels
 * are short ("SA +966"), so this is a guard rather than a fix — but the list
 * behind it is 248 entries long now, and the failure it prevents is the one
 * that just cost a form its layout. */
.auth-phone select{flex:0 0 116px;min-width:0}
/* AND THE NUMBER BESIDE IT, which is the same rule in the same axis. `flex:1`
 * asks it to take what is left; `min-width:auto` let it refuse, because a text
 * input's min-content width is its size attribute — so on a 375px phone the
 * dial select's 138px basis plus this input's floor came to 11px more than the
 * card, and the row alone scrolled sideways. Pre-dates the country list; found
 * while measuring the overflow that did not. */
.auth-phone input{flex:1;min-width:0}
/* inline-flex, not block: the button holds a spinner beside its label while the
   signup request is in flight, and centred text alone cannot lay two children
   out. Identical to the old rendering when the spinner is absent. */
.auth-submit{width:100%;margin-top:26px;font-size:15.5px;font-weight:800;color:#2A1C0C;
        background:linear-gradient(135deg,#E8B87A,var(--orange-glow-hi));border:none;
        border-radius:var(--r-pill);padding:16px;cursor:pointer;transition:filter .15s;
        display:inline-flex;align-items:center;justify-content:center;gap:10px}
.auth-submit:hover:not(:disabled){filter:brightness(1.06)}
.auth-submit:disabled{opacity:.6;cursor:default}
.auth-alt{text-align:center;font-size:14px;color:#B7A68F;margin-top:20px}
.auth-alt a{color:var(--orange-glow-hi);font-weight:700}
.auth-alt a:hover{text-decoration:underline}
.auth-error{background:rgba(248,113,113,.12);border:1px solid rgba(248,113,113,.35);color:#F8A29B;
        border-radius:12px;padding:12px 15px;font-size:13.5px;font-weight:600;margin-bottom:20px}
.auth-link-row{display:flex;justify-content:flex-end;margin-top:-4px}
.auth-link-row button{background:none;border:none;color:var(--orange-glow-hi);font-size:13px;
        font-weight:700;cursor:pointer;padding:0}
.auth-link-row button:hover{text-decoration:underline}

/* Confirmation overlay after signup */
.auth-overlay{position:fixed;inset:0;background:rgba(15,10,5,.78);display:flex;align-items:center;
        justify-content:center;padding:24px;z-index:50}
.auth-overlay-c{background:#241C14;border:1px solid #3A2E20;border-radius:20px;max-width:460px;
        width:100%;padding:34px;text-align:center}
.auth-overlay-ic{width:64px;height:64px;border-radius:18px;margin:0 auto 20px;background:rgba(212,154,94,.14);
        border:1px solid rgba(212,154,94,.35);color:var(--orange-glow-hi);display:flex;align-items:center;justify-content:center}
.auth-overlay-c h2{font-size:23px;font-weight:800;color:#F7F1E6}
.auth-overlay-c p{font-size:14.5px;color:#B7A68F;line-height:1.6;margin-top:12px}
.auth-overlay-c b{color:#F7F1E6}

@media(max-width:640px){
  .auth-grid{grid-template-columns:1fr}
  .auth-top{padding:18px 22px}
  .auth-card{padding:26px 22px}
}

/* ══════════════════════════════════════════════════════════════════════════
   Login — two-panel split, ported from the design prototype
   (design_handoff_theeb_platform/THEEB FINAL v2.html, #loginScreen).

   Not the dark centred card the signup flow uses: a 46% brand panel carrying
   the hero, beside a light panel holding the form.
   ══════════════════════════════════════════════════════════════════════════ */
.login-screen{min-height:100vh;display:flex;background:var(--warm-bg);font-family:var(--font-sans)}
.login-brand{flex:0 0 46%;background:linear-gradient(150deg,#0F1923 0%,#152230 55%,#1E2D3D 100%);position:relative;overflow:hidden;display:flex;flex-direction:column;justify-content:space-between;padding:56px 56px 48px;color:#fff}
.login-brand::before{content:'';position:absolute;top:-120px;right:-120px;width:420px;height:420px;border-radius:50%;background:radial-gradient(circle,rgba(173,101,44,.35) 0%,transparent 62%);pointer-events:none}
.login-brand::after{content:'';position:absolute;bottom:-160px;left:-100px;width:380px;height:380px;border-radius:50%;background:radial-gradient(circle,rgba(173,101,44,.16) 0%,transparent 60%);pointer-events:none}
/* Stacked, not side by side. The tag sat on the wordmark's baseline hard
   against the B, which read as part of the mark rather than as a line under
   it — and the lockup already says THEEB, so anything beside it competes. */
.login-logo{display:flex;flex-direction:column;align-items:flex-start;gap:10px;
            position:relative;z-index:1}
.login-logo .mk{width:56px;height:56px;background:rgba(173,101,44,.16);border:1px solid rgba(173,101,44,.4);border-radius:14px;display:flex;align-items:center;justify-content:center}
.login-logo .mk svg{width:70%;height:70%}
.login-wordmark{font-size:24px;font-weight:800;letter-spacing:3px;line-height:1}
.login-wordmark span{color:var(--orange)}
.login-tag{font-size:9px;font-weight:700;letter-spacing:1.6px;color:rgba(255,255,255,.55);text-transform:uppercase;margin-top:7px}
.login-hero{position:relative;z-index:1;max-width:440px}
.login-hero h1{font-size:40px;font-weight:800;letter-spacing:-1px;line-height:1.12}
.login-hero h1 em{color:var(--orange-glow-hi);font-style:normal}
.login-hero p{font-size:16px;color:rgba(255,255,255,.72);line-height:1.6;margin-top:18px;font-weight:500}
.login-foot{position:relative;z-index:1;font-size:12.5px;color:rgba(255,255,255,.45);font-weight:500}
.login-panel{flex:1;display:flex;align-items:center;justify-content:center;padding:40px}
.login-card{width:100%;max-width:400px}
.login-card h2{font-size:28px;font-weight:800;color:var(--ink);letter-spacing:-.5px}
.login-card .sub{font-size:15px;color:var(--bl-m);margin-top:8px;margin-bottom:30px;font-weight:500}
.login-card .ff{margin-bottom:16px}
.login-card .ff input{width:100%}
.login-forgot{display:flex;justify-content:flex-end;margin:-4px 0 22px}
.login-forgot a{font-size:13px;color:var(--orange);font-weight:700;text-decoration:none}
.login-forgot a:hover{text-decoration:underline}
.login-btn{width:100%;justify-content:center;font-size:15px;padding:14px}
.login-alt{text-align:center;font-size:14px;color:var(--bl-m);margin-top:24px;font-weight:500}
.login-alt a{color:var(--orange);font-weight:700;text-decoration:none}
.login-alt a:hover{text-decoration:underline}
.login-role-l{font-size:12px;font-weight:700;color:var(--ink);letter-spacing:.2px;margin-bottom:8px;display:block}
@media(max-width:900px){
  .login-screen{flex-direction:column}
  .login-brand{flex:0 0 auto;padding:32px 28px}
  .login-hero h1{font-size:30px}
}

/* The prototype's .su-confirm-sub — the "Didn't get it?" line sits a step
   smaller than the sentence above it. */
.auth-overlay-sub{font-size:14px}

/* ── Signup card — the prototype's .su-card family ────────────────────────
   Scoped to .signup rather than applied to .auth-card, because 403/404/500,
   set-password and confirm-email share that class and the handoff covers
   none of them; they keep their card chrome. The prototype's signup card has
   no background or border of its own — it sits directly on the dark page. */
.auth-card.signup{max-width:560px;background:none;border:none;border-radius:0;
        padding:44px 48px 40px;margin:8px auto 60px}
.auth-card.signup h1{font-size:38px;letter-spacing:-1px}
.auth-card.signup .sub{font-size:16px;line-height:1.5;color:#B7A68F;margin:14px 0 30px}
.auth-card.signup .auth-seg{display:grid;grid-template-columns:1fr 1fr;gap:14px;
        padding:0;background:none;border:none;border-radius:0;margin:0 0 26px}
.auth-card.signup .auth-seg button{font-size:15px;font-weight:700;color:#B7A68F;
        background:#241C14;border:1.5px solid #3A2E20;border-radius:13px;padding:16px}
.auth-card.signup .auth-seg button:hover{border-color:#5A4830}
.auth-card.signup .auth-seg button.on{color:#F3EBDD;border-color:var(--orange-glow-hi);
        background:#2C2216;box-shadow:none}
.auth-card.signup .auth-grid{gap:16px}
.auth-card.signup .auth-f{gap:8px}
.auth-card.signup .auth-f label{font-size:14px;color:#CDBEA8}
.auth-card.signup .auth-f input,.auth-card.signup .auth-f select{font-size:15px;color:#F3EBDD}
.auth-card.signup .auth-phone{gap:12px}
.auth-card.signup .auth-phone select{flex:0 0 138px}
.auth-card.signup .auth-submit{margin-top:30px;font-size:17px;padding:19px;color:#1A140E;
        background:linear-gradient(100deg,#EAD3AE,#D49A5E 55%,#C4801F)}
.auth-card.signup .auth-alt{font-size:14px;margin-top:22px;color:#B7A68F}
@media(max-width:600px){
  .auth-card.signup{padding:32px 22px}
  .auth-card.signup .auth-grid{grid-template-columns:1fr}
  .auth-card.signup h1{font-size:30px}
}

/* ── Combobox ────────────────────────────────────────────────────────────────
   City and industry are searchable, not closed lists — a city the list does
   not carry can still be typed. They were plain inputs backed by a <datalist>,
   which is correct behaviour with no affordance for it: the field looks like
   every other text box and Chrome only surfaces the suggestions once you have
   typed something, so it reads as a dropdown that does nothing.

   Same input, same free entry, with the list on focus and a chevron to say so. */
.auth-combo{position:relative;display:flex;flex-direction:column}
.auth-combo > input{width:100%}
.auth-combo-cv{position:absolute;right:15px;top:50%;transform:translateY(-50%);pointer-events:none;
        color:#8A7A64;display:flex;transition:transform .18s ease}
.auth-combo.open .auth-combo-cv{transform:translateY(-50%) rotate(180deg)}
.auth-combo-list{position:absolute;top:calc(100% + 6px);left:0;right:0;z-index:40;
        background:#1B140D;border:1.5px solid #3A2E20;border-radius:12px;padding:6px;
        max-height:212px;overflow-y:auto;box-shadow:0 14px 34px rgba(0,0,0,.5)}
.auth-combo-i{display:block;width:100%;text-align:left;font-family:inherit;font-size:14.5px;
        color:#F3EBDD;background:none;border:0;border-radius:8px;padding:11px 12px;cursor:pointer}
.auth-combo-i:hover,.auth-combo-i:focus{background:#2A2016;outline:none}
.auth-combo-none{font-size:13px;color:#8A7A64;padding:11px 12px;line-height:1.5}


/* The plan line on signup.
 *
 * THE PRICING TABLE USED TO RENDER HERE and its styling filled this block — a
 * dark override of pricing.css's light defaults, a two-across grid, a hidden
 * feature list, a chosen-column highlight, and the --p-* palette they all read
 * from. The cards were removed from signup (pricing belongs on the pricing
 * page), so all of it went: rules scoped to markup no page emits any more are
 * rules nobody can tell are dead.
 *
 * signup.html no longer links pricing.css either. What survives is the one-line
 * summary below, which uses literal colours and needs neither that stylesheet
 * nor the palette that stood here.
 */
.signup-plans { margin: 4px 0 28px; }

/* The chosen-plan summary — the collapsed state of the step above.
 *
 * ONE LINE, AND THE PRICE READS AS "AFTER YOUR TRIAL". The headline directly
 * above promises no credit card and thirty free days; a bare "900 SAR / month"
 * under it reads as a contradiction at the exact moment somebody is deciding
 * whether to hand over their details.
 */
.signup-plans .plan-chosen {
  display: flex; align-items: center; justify-content: space-between;
  gap: 14px; flex-wrap: wrap;
  border: 1px solid #3A2E20; border-radius: 12px;
  background: #241C14; padding: 13px 16px;
}
.plan-chosen-t { display: flex; align-items: baseline; gap: 9px; flex-wrap: wrap; min-width: 0; }
.plan-chosen-name { font-size: 15px; font-weight: 700; color: #F7F1E6; }
.plan-chosen-price { font-size: 13px; color: #B7A68F; }
/* The label sits inside the row here rather than above it. */
.signup-plans .plan-chosen .auth-label { color: #8E7E68; }
