/* wereno-renobot-signup.css — Capital's wizard styling with Renobot's palette.
 * Prefix wrn- so both wizards can coexist. Amber swapped for the blue, token
 * for token, so every contrast relationship the wizard relies on is unchanged.
 */
/*
 * Renobot onboarding wizard — /renobot early access.
 *
 * Every selector is wrn-prefixed and every modal internal is scoped under
 * #wrn-root, so this sheet can never collide with wereno-early-access.css
 * (#wrea-root, .wrea-*) or wereno-quote.css (#wrq-root, .wrq-*) even though all
 * three wizards can sit on the same page.
 *
 * It reuses the other two wizards' proportions — 760px shell, 50px controls, 8px
 * radius, the same progress bar and footer — so the site keeps ONE form idiom.
 * What differs is that this one is Renobot's alone, so it is amber throughout
 * rather than theming off an attribute.
 *
 * Colours are the sampled logo values from wereno-products.css, not invented:
 *   accent #35C4F0 (robot hard hat) · hover #0A6C9B (hat shadow) · field #E7F8FD
 * The status pill's geometry quotes .wr-pill on the product pages: 2px #000000E6
 * and a hard, zero-blur shadow. It is always a <span> — a clickable "Early
 * access" would promise a status page that does not exist.
 */

/* Must be first: a display:flex overlay rule would otherwise beat UA [hidden]. */
#wrn-root[hidden]{display:none !important}

#wrn-root{
  --wrn-accent:#35C4F0;               /* Renobot robot, hard hat body */
  --wrn-accent-hi:#0A6C9B;            /* hat shadow — hover, rules */
  --wrn-on-accent:#141414;
  --wrn-field:#E7F8FD;

  --wrn-ink:#141414;
  --wrn-body:rgba(20,20,20,.7);
  --wrn-body-soft:rgba(20,20,20,.6);
  --wrn-focus:#7296F4;
  --wrn-surface:#ffffff;
  --wrn-surface-2:#f6f5f2;
  --wrn-line:rgba(20,20,20,.14);
  --wrn-line-soft:rgba(20,20,20,.08);
  --wrn-hard:#000000E6;
  --wrn-err:#b0322a;
  --wrn-radius:8px;
  --wrn-sans:"Outfit",system-ui,-apple-system,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;

  position:fixed;
  inset:0;
  height:100dvh;
  z-index:2147483510;                 /* above uicore nav (99999999), below wr-toast (2147483600) */
  display:flex;
  align-items:center;
  justify-content:center;
  padding:24px;
  background:rgba(20,18,12,.55);
  -webkit-backdrop-filter:blur(6px);
  backdrop-filter:blur(6px);
  font-family:var(--wrn-sans);
  color:var(--wrn-ink);
  animation:wrbFade .22s ease both;
}

/* Overflow only, no position:fixed, so closing never resets scroll. Each wizard
   adds and removes only its own lock class. */
html.wrn-scroll-lock,html.wrn-scroll-lock body{overflow:hidden !important}

#wrn-root *{box-sizing:border-box}
#wrn-root .wrn-sr-live{
  position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;
  clip:rect(0 0 0 0);white-space:nowrap;border:0}

/* ------------------------------------------------------------------- shell -- */
#wrn-root .wrn-modal{
  position:relative;
  width:100%;
  max-width:760px;
  max-height:92dvh;
  background:var(--wrn-surface);
  border-radius:20px;
  box-shadow:0 24px 70px rgba(0,0,0,.34);
  display:flex;
  flex-direction:column;
  overflow:hidden;
  animation:wrbPop .34s cubic-bezier(.34,1.56,.64,1) both;
}

/* ---------------------------------------------------------------- header -- */
#wrn-root .wrn-head{flex:none;padding:20px 26px 0}
#wrn-root .wrn-head-top{
  display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px}
#wrn-root .wrn-brand{display:flex;align-items:center;gap:10px;min-width:0;flex-wrap:wrap}
#wrn-root .wrn-mark{height:40px;width:auto;max-width:260px;display:block}
#wrn-root .wrn-head-right{display:flex;align-items:center;gap:12px;flex:none}
#wrn-root .wrn-step-count{
  font-size:13px;color:var(--wrn-body);font-variant-numeric:tabular-nums;white-space:nowrap}

#wrn-root .wrn-pill{
  display:inline-block;font-size:12px;font-weight:500;line-height:1;color:var(--wrn-ink);
  background:var(--wrn-field);border:2px solid var(--wrn-hard);border-radius:999px;
  padding:6px 11px;box-shadow:0 2px 0 0 rgba(0,0,0,.9);white-space:nowrap}

#wrn-root .wrn-close{
  flex:none;width:34px;height:34px;border-radius:50%;border:none;cursor:pointer;
  background:var(--wrn-surface-2);color:var(--wrn-ink);
  display:flex;align-items:center;justify-content:center;transition:background .15s ease}
#wrn-root .wrn-close:hover{background:rgba(20,20,20,.1)}
#wrn-root .wrn-close svg{width:16px;height:16px}

#wrn-root .wrn-progress{
  height:6px;border-radius:100px;background:var(--wrn-surface-2);overflow:hidden}
#wrn-root .wrn-progress-fill{
  height:100%;border-radius:100px;background:var(--wrn-accent);width:0;
  transition:width .38s cubic-bezier(.16,1,.3,1)}

/* ------------------------------------------------------------------ body -- */
#wrn-root .wrn-body{
  flex:1 1 auto;overflow-y:auto;-webkit-overflow-scrolling:touch;
  overscroll-behavior:contain;padding:22px 26px 8px}
#wrn-root .wrn-step-head{margin:0 0 20px}
#wrn-root .wrn-step-head h2{
  margin:0;font-size:25px;line-height:1.2;font-weight:500;letter-spacing:-.027em;
  color:var(--wrn-ink);text-wrap:balance}
#wrn-root .wrn-step-head p{margin:7px 0 0;font-size:15px;color:var(--wrn-body);max-width:56ch}

#wrn-root .wrn-group{margin-bottom:22px}
#wrn-root .wrn-group:last-child{margin-bottom:0}
#wrn-root .wrn-group-label{
  display:flex;align-items:center;gap:8px;margin:0 0 11px;
  font-size:15px;font-weight:500;letter-spacing:-.01em;color:var(--wrn-ink)}
#wrn-root .wrn-group-label .wrn-ic{font-size:16px;line-height:1}
#wrn-root .wrn-hint{margin:9px 0 0;font-size:13px;line-height:1.5;color:var(--wrn-body)}

/* Renobot's 11px uppercase micro-type, borrowed as the divider above the
   address run. It is the product's own register and it belongs to this form. */
#wrn-root .wrn-section-label{
  margin:22px 0 12px;padding-top:16px;border-top:1px solid var(--wrn-line-soft);
  font-size:11px;font-weight:500;line-height:1.4;text-transform:uppercase;
  letter-spacing:.08em;color:var(--wrn-ink)}
#wrn-root .wrn-body > .wrn-section-label:first-of-type{margin-top:4px}

/* -------------------------------------------------------- selectable cards -- */
#wrn-root .wrn-cards{display:grid;gap:10px}
#wrn-root .wrn-cards.cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}
#wrn-root .wrn-cards.cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}
#wrn-root .wrn-card{
  text-align:left;cursor:pointer;min-width:0;
  background:var(--wrn-surface);border:2px solid var(--wrn-line);border-radius:var(--wrn-radius);
  padding:14px 15px;font-family:inherit;color:var(--wrn-ink);
  transition:border-color .14s ease,background .14s ease,box-shadow .14s ease,transform .05s ease;
  display:flex;flex-direction:column;gap:3px;min-height:100%}
#wrn-root .wrn-card:hover{border-color:var(--wrn-accent)}
#wrn-root .wrn-card:active{transform:translateY(1px)}
#wrn-root .wrn-card.is-sel{
  border-color:var(--wrn-accent);background:var(--wrn-field);
  box-shadow:0 0 0 1px var(--wrn-accent) inset}
#wrn-root .wrn-card .wrn-card-t{
  font-size:15px;font-weight:500;letter-spacing:-.01em;line-height:1.25;overflow-wrap:break-word}
#wrn-root .wrn-card .wrn-card-d{font-size:12.5px;color:var(--wrn-body);line-height:1.4}
#wrn-root .wrn-cards.compact .wrn-card{padding:12px 14px;text-align:center;align-items:center}

/* ------------------------------------------------------------ text inputs -- */
#wrn-root .wrn-field{margin-bottom:15px;min-width:0}
#wrn-root .wrn-field:last-child{margin-bottom:0}
#wrn-root .wrn-field--ac{position:relative}
#wrn-root .wrn-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
#wrn-root label.wrn-lab{
  display:block;font-size:13.5px;font-weight:500;color:var(--wrn-ink);margin:0 0 6px;
  letter-spacing:-.005em}
#wrn-root .wrn-input,#wrn-root .wrn-textarea,#wrn-root .wrn-select{
  width:100%;max-width:100%;font-family:inherit;font-size:16px;color:var(--wrn-ink);
  background:var(--wrn-surface);border:1px solid rgba(166,166,166,.55);
  border-radius:var(--wrn-radius);height:50px;padding:0 15px;
  transition:border-color .14s ease,box-shadow .14s ease}
#wrn-root .wrn-textarea{height:auto;min-height:96px;padding:12px 15px;line-height:1.5;resize:vertical}
#wrn-root .wrn-select{
  appearance:none;-webkit-appearance:none;cursor:pointer;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23141414' stroke-width='1.6' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat:no-repeat;background-position:right 16px center;padding-right:38px}
#wrn-root .wrn-input::placeholder,#wrn-root .wrn-textarea::placeholder{color:var(--wrn-body-soft)}
#wrn-root .wrn-input:focus,#wrn-root .wrn-textarea:focus,#wrn-root .wrn-select:focus{
  outline:none;border-color:var(--wrn-focus);box-shadow:0 0 0 3px rgba(114,150,244,.18)}
#wrn-root .wrn-input.is-err,#wrn-root .wrn-textarea.is-err{
  border-color:var(--wrn-err);box-shadow:0 0 0 3px rgba(176,50,42,.12)}
#wrn-root .wrn-err-msg{display:none;margin:6px 0 0;font-size:13px;color:var(--wrn-err)}
#wrn-root .wrn-field.has-err .wrn-err-msg{display:block}

/* ------------------------------------------------- address autocomplete -- */
/* Only ever appears when Google returns predictions. Blank key, API failure or
   offline: this list simply never renders and the field is plain text. */
#wrn-root .wrn-ac-list{
  position:absolute;left:0;right:0;top:calc(100% + 5px);z-index:6;
  background:var(--wrn-surface);border:1px solid var(--wrn-line);border-radius:var(--wrn-radius);
  box-shadow:0 14px 34px rgba(0,0,0,.16);overflow-y:auto;max-height:250px}
#wrn-root .wrn-ac-opt{
  padding:10px 15px;font-size:15px;color:var(--wrn-ink);cursor:pointer;line-height:1.25;
  border-bottom:1px solid var(--wrn-line-soft);display:flex;flex-direction:column;gap:2px}
#wrn-root .wrn-ac-opt:last-child{border-bottom:none}
#wrn-root .wrn-ac-opt.is-active{background:var(--wrn-field)}
#wrn-root .wrn-ac-main{font-weight:500;overflow-wrap:break-word}
#wrn-root .wrn-ac-sec{font-size:13px;color:var(--wrn-body);overflow-wrap:break-word}

/* honeypot */
#wrn-root .wrn-hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}

/* -------------------------------------------------------------- checkbox -- */
#wrn-root .wrn-check{
  display:flex;align-items:flex-start;gap:10px;cursor:pointer;font-size:14px;
  color:var(--wrn-body);line-height:1.5}
#wrn-root .wrn-check input{
  appearance:none;-webkit-appearance:none;flex:none;width:20px;height:20px;margin:0;cursor:pointer;
  border:1.5px solid var(--wrn-line);border-radius:5px;background:var(--wrn-surface);
  transition:.14s;position:relative;top:2px}
#wrn-root .wrn-check input:checked{background:var(--wrn-accent);border-color:var(--wrn-accent)}
#wrn-root .wrn-check input:checked::after{
  content:"";position:absolute;left:6px;top:2px;width:5px;height:10px;
  border:solid #141414;border-width:0 2px 2px 0;transform:rotate(45deg)}
#wrn-root .wrn-check input:focus-visible{outline:2px solid var(--wrn-focus);outline-offset:2px}

/* ---------------------------------------------------------- footer / nav -- */
#wrn-root .wrn-foot{
  flex:none;display:flex;align-items:center;justify-content:space-between;gap:12px;
  padding:16px 26px calc(16px + env(safe-area-inset-bottom));
  border-top:1px solid var(--wrn-line-soft);background:var(--wrn-surface)}
#wrn-root .wrn-disclaimer{
  font-size:12px;color:var(--wrn-body-soft);max-width:34ch;line-height:1.4}
#wrn-root .wrn-disclaimer a{color:var(--wrn-body);text-decoration:underline}
#wrn-root .wrn-nav-btns{display:flex;align-items:center;gap:10px;margin-left:auto;min-width:0}

#wrn-root .wrn-btn{
  font-family:inherit;font-size:16px;font-weight:500;cursor:pointer;
  border-radius:var(--wrn-radius);height:50px;padding:0 22px;border:1px solid transparent;
  transition:background .15s ease,border-color .15s ease,opacity .15s ease,color .15s ease;
  display:inline-flex;align-items:center;justify-content:center;gap:8px;
  max-width:100%;min-width:0}
#wrn-root .wrn-btn-primary{background:var(--wrn-accent);color:var(--wrn-on-accent)}
#wrn-root .wrn-btn-primary:hover,#wrn-root .wrn-btn-primary:focus{background:var(--wrn-accent-hi)}
#wrn-root .wrn-btn-primary[disabled]{opacity:.45;cursor:not-allowed}
#wrn-root .wrn-btn-primary[disabled]:hover{background:var(--wrn-accent)}
#wrn-root .wrn-btn-ghost{
  background:transparent;color:var(--wrn-body);border-color:var(--wrn-line);padding:0 18px}
#wrn-root .wrn-btn-ghost:hover{border-color:var(--wrn-ink);color:var(--wrn-ink)}
#wrn-root .wrn-next-ic{width:17px;height:17px;flex:none}

/* --------------------------------------------------------- confirmation -- */
/* No "you're in", no green tick. Renobot is live, but this is a place in a
   queue: the copy says recorded, and that access opens by area. */
#wrn-root .wrn-confirm{padding:40px 30px 36px;text-align:center;overflow-y:auto}
#wrn-root .wrn-check-ring{
  width:72px;height:72px;border-radius:50%;margin:0 auto 20px;
  background:var(--wrn-field);border:2px solid var(--wrn-accent);color:var(--wrn-ink);
  display:flex;align-items:center;justify-content:center;
  animation:wrbPop .42s cubic-bezier(.34,1.56,.64,1) both}
#wrn-root .wrn-check-ring svg{width:32px;height:32px}
#wrn-root .wrn-confirm h2{
  margin:0 0 12px;font-size:27px;font-weight:500;letter-spacing:-.027em;line-height:1.2}
#wrn-root .wrn-pill--confirm{margin:0 0 16px}
#wrn-root .wrn-confirm p{margin:0 auto 10px;font-size:15px;line-height:1.6;color:var(--wrn-body);max-width:50ch}
#wrn-root .wrn-ref{
  display:inline-flex;align-items:center;gap:8px;margin:14px 0 4px;
  font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:14px;font-weight:600;
  color:var(--wrn-ink);background:var(--wrn-surface-2);border:1px solid var(--wrn-accent);
  border-radius:100px;padding:8px 16px;max-width:100%;overflow-wrap:anywhere}
#wrn-root .wrn-summary{
  text-align:left;max-width:440px;margin:22px auto 0;background:var(--wrn-surface-2);
  border:1px solid var(--wrn-line-soft);border-radius:12px;padding:16px 18px}
#wrn-root .wrn-summary-row{
  display:flex;justify-content:space-between;gap:16px;font-size:13.5px;padding:5px 0}
#wrn-root .wrn-summary-row span{color:var(--wrn-body);flex:none}
#wrn-root .wrn-summary-row b{
  color:var(--wrn-ink);font-weight:500;text-align:right;min-width:0;overflow-wrap:anywhere}
#wrn-root .wrn-confirm-actions{
  margin-top:24px;display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:12px}

/* --------------------------------------------------------- error banner -- */
#wrn-root .wrn-alert{
  margin:0 0 16px;padding:12px 15px;border-radius:var(--wrn-radius);
  background:rgba(176,50,42,.08);border:1px solid rgba(176,50,42,.3);color:var(--wrn-err);
  font-size:13.5px;line-height:1.45}
#wrn-root .wrn-alert a{color:var(--wrn-err);font-weight:600}

/* ============================================================================
 * The inline trigger form that lives in the page (the §14 band, a hero, a
 * footer). Not inside #wrn-root — these rules style the page-side element. The
 * submit button inside it is the theme's own .wr-btn, which this sheet never
 * touches, so at narrow widths the form simply becomes a column and stretch
 * gives the button its full width without anyone overriding its geometry.
 * ========================================================================== */
/* box-sizing is set here rather than assumed: this form is dropped into page
   markup, and a 3px border plus 16px of side padding on a width:100% input is
   38px of horizontal overflow on any ground that has not already set it. */
.wrn-inline,.wrn-inline input[type="email"]{box-sizing:border-box}
.wrn-inline{display:flex;flex-wrap:wrap;gap:12px;align-items:center;width:100%;max-width:520px}
.wrn-inline input[type="email"]{
  flex:1 1 220px;min-width:0;width:100%;
  font-family:"Outfit",system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;
  font-size:16px;line-height:1.2;color:#141414;background:#ffffff;
  border:3px solid #000000E6;border-radius:8px;height:52px;padding:0 16px}
.wrn-inline input[type="email"]::placeholder{color:rgba(20,20,20,.55)}
.wrn-inline input[type="email"]:focus{
  outline:none;border-color:#000000E6;box-shadow:0 0 0 3px rgba(114,150,244,.3)}
@media (max-width:480px){
  .wrn-inline{flex-direction:column;align-items:stretch;max-width:100%}
  .wrn-inline input[type="email"]{flex:0 0 auto;width:100%;height:48px}
}

/* ----------------------------------------------------------- responsive -- */
@media (max-width:860px){
  #wrn-root{padding:0}
  #wrn-root .wrn-modal{
    max-width:none;width:100%;height:100dvh;max-height:100dvh;border-radius:0}
  #wrn-root .wrn-cards.cols-3{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:620px){
  #wrn-root .wrn-head{padding:calc(14px + env(safe-area-inset-top)) 18px 0}
  #wrn-root .wrn-body{padding:18px 18px 6px}
  #wrn-root .wrn-foot{padding:14px 18px calc(14px + env(safe-area-inset-bottom))}
  #wrn-root .wrn-step-head h2{font-size:22px}
  #wrn-root .wrn-row{grid-template-columns:minmax(0,1fr)}
  #wrn-root .wrn-disclaimer{display:none}
  #wrn-root .wrn-mark{height:24px}
  #wrn-root .wrn-confirm{padding:32px 20px 28px}
  #wrn-root .wrn-confirm h2{font-size:23px}
  #wrn-root .wrn-btn{font-size:15px;padding:0 16px}
}
@media (max-width:440px){
  #wrn-root .wrn-cards.cols-3,#wrn-root .wrn-cards.cols-2{grid-template-columns:minmax(0,1fr)}
  #wrn-root .wrn-nav-btns{gap:8px}
  #wrn-root .wrn-step-count{display:none}
  #wrn-root .wrn-confirm-actions .wrn-btn{flex:1 1 100%}
}

@keyframes wrbFade{from{opacity:0}to{opacity:1}}
@keyframes wrbPop{from{opacity:0;transform:translateY(14px) scale(.98)}to{opacity:1;transform:none}}
@media (prefers-reduced-motion:reduce){
  #wrn-root,#wrn-root .wrn-modal,#wrn-root .wrn-check-ring{animation:none}
  #wrn-root .wrn-progress-fill,#wrn-root .wrn-card,#wrn-root .wrn-input,
  #wrn-root .wrn-textarea,#wrn-root .wrn-select,#wrn-root .wrn-close,
  #wrn-root .wrn-btn,#wrn-root .wrn-check input{transition:none}
  #wrn-root .wrn-card:active{transform:none}
}
