/* NoSale welcome and email-first sign-in: isolated from authenticated dashboard. */
.welcome-layout{display:grid;grid-template-columns:minmax(0,1.08fr) minmax(390px,.92fr);gap:clamp(34px,5vw,88px);align-items:center;max-width:1160px;margin:clamp(38px,6vh,78px) auto 58px}
.welcome-story{position:relative;padding:25px 0 30px}
.welcome-story:before{content:"";position:absolute;top:-60px;left:-95px;width:350px;height:350px;border-radius:50%;background:radial-gradient(circle,rgba(255,90,31,.09),transparent 65%);pointer-events:none;z-index:-1}
.welcome-kicker{font-size:11px;letter-spacing:.13em;font-weight:800;color:#ff865e;text-transform:uppercase;display:flex;align-items:center;gap:10px;margin-bottom:23px}
.welcome-kicker:before{content:"";width:7px;height:7px;border-radius:50%;background:#ff5a1f;box-shadow:0 0 15px rgba(255,90,31,.6)}
.welcome-title{font-size:clamp(39px,4.1vw,65px);line-height:1.08;letter-spacing:-.055em;max-width:700px;margin:0 0 22px;font-weight:760}
.welcome-title-primary{display:block}
.welcome-title-secondary{display:block;margin-top:7px;font-size:.67em;line-height:1.19;letter-spacing:-.04em;color:#ff7848;font-weight:760}
.welcome-text{font-size:clamp(15px,1.4vw,17px);line-height:1.68;color:#acaab0;max-width:520px;margin:0 0 22px}
.welcome-trial-card{display:block;max-width:520px;padding:17px 20px 16px;margin:0 0 31px;border:1px solid rgba(110,219,167,.28);border-radius:16px;background:linear-gradient(115deg,rgba(70,183,130,.12),rgba(30,75,58,.055));box-shadow:inset 0 1px 0 rgba(255,255,255,.035)}
.welcome-trial-head{display:flex;align-items:center;gap:11px;margin:0 0 3px}
.welcome-trial-head strong{font-size:clamp(21px,2.1vw,27px);font-weight:790;line-height:1.22;letter-spacing:-.035em;color:#b8f1d3}
.welcome-trial-mark{display:inline-flex;align-items:center;justify-content:center;width:26px;height:26px;flex:0 0 26px;background:rgba(110,219,167,.13);border-radius:9px;border:1px solid rgba(110,219,167,.2);color:#91e4b8;font-size:15px;font-weight:800}
.welcome-trial-card p{margin:0 0 6px 37px;font-size:14px;line-height:1.45;color:#e2e5e1;font-weight:600}
.welcome-trial-note{display:block;margin-left:37px;color:#9eaca3;font-size:12px;line-height:1.55}
.welcome-heading{margin:0 0 19px;color:#e9e7e7;font-weight:750;font-size:15px}
.welcome-steps{list-style:none;margin:0 0 25px;padding:0;display:grid;gap:19px}
.welcome-steps li{display:grid;grid-template-columns:38px minmax(0,1fr);gap:12px;align-items:start}
.welcome-steps .step-number{display:flex;align-items:center;justify-content:center;width:36px;height:36px;border-radius:12px;background:rgba(255,90,31,.11);border:1px solid rgba(255,90,31,.24);color:#ff8a63;font-size:13px;font-weight:800}
.welcome-steps strong{display:block;color:#eee;font-size:14px;margin:0 0 3px}
.welcome-steps span.step-caption{display:block;color:#96939b;font-size:13px;line-height:1.5}
.welcome-safety{display:flex;gap:10px;align-items:center;color:#a5a3aa;font-size:12px;line-height:1.5;margin-bottom:22px}
.welcome-safety svg{flex:0 0 auto;color:#65d4a3;width:17px;height:17px}
.welcome-panel{background:#161619;border:1px solid #303034;border-radius:24px;padding:clamp(24px,3.2vw,42px);box-shadow:0 28px 70px rgba(0,0,0,.26)}
.welcome-panel-top{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:22px}
.welcome-label{font-size:11px;letter-spacing:.115em;text-transform:uppercase;font-weight:800;color:#ff8054}
.welcome-stage{border:1px solid #424045;border-radius:100px;font-size:11px;color:#99979d;padding:5px 11px;white-space:nowrap}
.welcome-panel h2{font-size:clamp(27px,2.3vw,34px);line-height:1.15;letter-spacing:-.035em;margin:0 0 11px;font-weight:760}
.welcome-panel .welcome-explainer{font-size:14px;line-height:1.65;color:#a7a4ab;margin:0 0 25px}
.welcome-panel .welcome-form{display:grid;gap:10px}
.welcome-panel label{color:#c2bfc3;font-weight:600;font-size:13px}
.welcome-panel input[type="email"],.welcome-panel input[type="password"]{min-height:53px;background:#101013;border:1px solid #353339;border-radius:13px;padding:12px 15px;font-size:16px;width:100%;outline:none;color:#f2f1ee}
.welcome-panel input:focus-visible{border-color:#ff7848;box-shadow:0 0 0 3px rgba(255,90,31,.15)}
.welcome-panel input::placeholder{color:#77737c}
.welcome-panel .welcome-submit{margin-top:8px;border-radius:13px;min-height:51px;width:100%;font-weight:750;font-size:14px}
.auth-flow-panel .welcome-submit:disabled{background:#2b2c30;color:#aaa9ae;border:1px solid #494951;box-shadow:none;opacity:1;cursor:not-allowed}
.welcome-form-errors{font-size:13px;color:#ffaaa0;line-height:1.5;margin:0;list-style:none;padding:0}
.welcome-form-errors li{margin:5px 0}
.welcome-form-help{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:18px;color:#9d99a0;font-size:12px}
.welcome-form-help a{font-size:12px}
.welcome-email-confirm{display:flex;align-items:center;justify-content:space-between;gap:8px;border:1px solid #38353a;border-radius:12px;background:#101013;padding:13px 14px;font-size:14px;color:#ddd;overflow-wrap:anywhere;margin-bottom:16px}
.welcome-email-confirm a{white-space:nowrap;font-size:12px}
.welcome-panel input::-ms-reveal{display:none}
@media(max-width:900px){.welcome-layout{grid-template-columns:1fr;max-width:640px;gap:20px;margin-top:10px}.welcome-story{padding:20px 0 0}.welcome-title{font-size:clamp(34px,7vw,51px)}.welcome-panel{padding:28px}.welcome-text{max-width:560px}}
@media(max-width:520px){.welcome-layout{margin-top:2px;gap:18px}.welcome-story{padding:8px 0 0}.welcome-title{font-size:36px}.welcome-kicker{margin-bottom:14px}.welcome-text{font-size:14px;margin-bottom:17px}.welcome-trial-card{padding:15px 14px;margin-bottom:22px}.welcome-trial-head strong{font-size:22px}.welcome-trial-card p,.welcome-trial-note{margin-left:37px}.welcome-title-secondary{font-size:.65em;white-space:normal}.welcome-steps{gap:12px;margin-bottom:17px}.welcome-panel{padding:23px 20px;border-radius:18px}.welcome-panel h2{font-size:27px}.welcome-panel-top{margin-bottom:15px}.welcome-safety{margin-bottom:16px}}

/* Shared guided email verification and PIN setup — extends welcome layout. */
.auth-flow-layout{align-items:center;max-width:1160px;margin-top:clamp(44px,8vh,104px)}
.auth-flow-story{padding-block:12px 26px}
.auth-flow-progress{font-size:12px;font-weight:680;line-height:1.6;letter-spacing:.025em;color:#a9a6ac;margin:0 0 12px}
.auth-flow-title{font-size:clamp(38px,4vw,61px);font-weight:770;letter-spacing:-.052em;line-height:1.11;margin:0 0 20px}
.auth-flow-title span{display:block;color:#ff7848;font-size:.76em;line-height:1.22;margin-top:5px}
.auth-flow-story>.welcome-text{max-width:535px;margin-bottom:22px}
.auth-flow-email{display:flex;align-items:center;gap:13px;max-width:530px;margin:0 0 30px;padding:14px 16px;background:#161619;border:1px solid #363337;border-radius:14px;overflow-wrap:anywhere}
.auth-flow-email-icon{width:37px;height:37px;flex:0 0 37px;display:grid;place-items:center;border-radius:12px;background:rgba(255,90,31,.12);color:#ff8b5f;font-size:20px}
.auth-flow-email small{display:block;font-size:11px;color:#96939b;margin-bottom:2px}
.auth-flow-email strong{font-size:14px;color:#f0eeeb;font-weight:700}
.auth-flow-email--success{border-color:rgba(100,216,161,.25);background:rgba(33,84,61,.13)}
.auth-flow-email--success .auth-flow-email-icon{background:rgba(100,216,161,.12);color:#7ee1ad}
.auth-flow-steps{margin-bottom:23px}
.auth-flow-hint{display:flex;align-items:center;gap:11px;max-width:530px;padding:13px 16px;border:1px solid rgba(100,216,161,.2);border-radius:12px;color:#bbd8c8;font-size:12px;line-height:1.6;background:rgba(44,89,66,.095)}
.auth-flow-hint span{color:#77dcac;font-size:19px;flex:0 0 19px}

/* The generic auth-flow-hint span rule reserves 19px for a small icon.
   The first-import rate-limit callout is text, so it needs a full-width
   layout rather than an icon-sized flex child. */
.auth-flow-panel .auth-flow-retry-box{display:block;width:100%;max-width:none;min-width:0;padding:16px 17px}
.auth-flow-panel .auth-flow-retry-box .retry-label{font-size:13px;line-height:1.55;font-weight:500;color:#c3d7cd;margin:0 0 6px}
.auth-flow-panel .auth-flow-retry-box .retry-time{display:block;font-size:17px;line-height:1.4;font-weight:700;color:#80e9b5;font-variant-numeric:tabular-nums;overflow-wrap:normal}
.auth-flow-panel .auth-flow-retry-box .retry-countdown{font-size:12px;line-height:1.5;color:#a6c4b4;margin:7px 0 0}

.auth-flow-panel .welcome-form{gap:11px}
.auth-flow-panel .welcome-form label:not(:first-child){margin-top:4px}
.auth-flow-panel .welcome-form input[type=text],.auth-flow-panel .welcome-form input[type=password]{min-height:53px;background:#101013;border:1px solid #353339;border-radius:13px;padding:12px 15px;font-size:16px;width:100%;outline:none;color:#f2f1ee}
.auth-flow-panel .welcome-form input:focus-visible{border-color:#ff7848;box-shadow:0 0 0 3px rgba(255,90,31,.15)}
.auth-flow-panel .welcome-form input::placeholder{color:#75737a}
.auth-flow-code-note{display:flex;align-items:center;gap:12px;padding:13px 14px;margin:4px 0 0!important;border-radius:12px;border:1px solid rgba(100,216,161,.34);background:rgba(44,103,71,.15);color:#d5f1e2;line-height:1.5}
.auth-flow-code-note-icon{display:grid;place-items:center;flex:0 0 29px;height:29px;border:1px solid rgba(117,224,171,.25);border-radius:9px;background:rgba(117,224,171,.09);color:#78dca9;font-size:19px}
.auth-flow-code-note strong{display:block;font-size:13px;font-weight:750;color:#bbefce}
.auth-flow-code-note-detail{display:block;margin-top:2px;font-size:12px;color:#b4c7b9}
.auth-flow-help{padding-top:22px;border-top:1px solid #303035;margin-top:26px}
.auth-flow-help p{color:#9d99a0;font-size:12px;line-height:1.6;margin:0 0 8px}
.auth-flow-help a{font-size:13px}
.auth-flow-footer-note{color:#9d99a0;font-size:12px;line-height:1.65;border-top:1px solid #303035;padding-top:19px;margin:24px 0 0}
@media(max-width:900px){.auth-flow-layout{margin-top:18px;gap:24px}.auth-flow-story{padding-block:12px 0}.auth-flow-title{font-size:clamp(35px,6vw,48px)}}
@media(max-width:520px){.auth-flow-layout{margin-top:0;gap:16px}.auth-flow-story{padding-top:4px}.auth-flow-title{font-size:37px;margin-bottom:14px}.auth-flow-title span{font-size:.75em}.auth-flow-email{margin-bottom:22px;padding:12px}.auth-flow-hint{padding:12px}.auth-flow-panel .welcome-form{gap:9px}}

/* Explicitly sandboxed localhost preview OTP. Never used by production. */
.auth-flow-test-code{display:flex;flex-direction:column;gap:7px;margin:0 0 22px;padding:18px 20px;background:rgba(255,119,70,.075);border:1px solid rgba(255,119,70,.34);border-radius:14px}
.auth-flow-test-label{color:#ff956e;text-transform:uppercase;letter-spacing:.1em;font-size:10px;font-weight:800}
.auth-flow-test-digits{color:#fff;font-size:31px;letter-spacing:.24em;font-variant-numeric:tabular-nums;font-weight:780}
.auth-flow-test-code small{font-size:12px;line-height:1.45;color:#b4acac}

/* PIN eye controls: no layout shift; accessible 44px hit area on touch screens. */
.welcome-panel .pin-field{position:relative;width:100%;min-width:0}
.welcome-panel .pin-field input[type="password"],
.welcome-panel .pin-field input[type="text"]{width:100%;min-width:0;min-height:53px;background:#101013;border:1px solid #353339;border-radius:13px;padding:12px 58px 12px 15px;font-size:16px;outline:none;color:#f2f1ee}
.welcome-panel .pin-visibility-toggle{
  position:absolute;right:5px;top:50%;transform:translateY(-50%);
  display:grid;place-items:center;width:44px;height:44px;min-height:44px;padding:0;
  background:transparent;border:0;border-radius:11px;color:#a7a3ac;
  box-shadow:none;cursor:pointer;touch-action:manipulation;z-index:1
}
.welcome-panel .pin-visibility-toggle:hover{background:rgba(255,255,255,.06);color:#f2f1ee;transform:translateY(-50%)}
.welcome-panel .pin-visibility-toggle:focus-visible{outline:2px solid #ff7848;outline-offset:-2px;color:#f2f1ee}
.welcome-panel .pin-visibility-toggle[aria-pressed="true"]{color:#ff956e}
.welcome-panel .pin-visibility-toggle svg{display:block;pointer-events:none}
.welcome-panel .pin-visibility-toggle .pin-eye-hidden{display:none}
.welcome-panel .pin-visibility-toggle[aria-pressed="true"] .pin-eye-visible{display:none}
.welcome-panel .pin-visibility-toggle[aria-pressed="true"] .pin-eye-hidden{display:inline}
