/* Marble Thinks final authentication presentation — clean replacement */
:root{
  --mt-blue:#0b6fe8;
  --mt-blue-deep:#064fae;
  --mt-ink:#071c45;
  --mt-muted:#536c94;
  --mt-border:#bed1eb;
}

html,body,#app{min-height:100%;margin:0}
body:has(.mt3-auth){overflow:hidden;background:#eef5fb}

.mt3-auth{
  min-height:100svh;
  display:grid;
  grid-template-columns:50.7% 49.3%;
  background:#eef5fb;
  color:var(--mt-ink);
  font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
}

.mt3-left,.mt3-right{position:relative;min-width:0;overflow:hidden}

/* Real stone imagery replaces every previous synthetic marble approximation. */
.mt3-left{
  color:#fff;
  background:
    linear-gradient(90deg,rgba(0,15,42,.25),rgba(0,25,63,.10)),
    linear-gradient(145deg,rgba(2,24,57,.36),rgba(8,73,150,.18)),
    url("https://unsplash.com/photos/IZwvF4m9YOA/download?force=true&w=1600") center/cover no-repeat;
  isolation:isolate;
}

.mt3-left::before{
  content:"";
  position:absolute;
  inset:-1%;
  z-index:1;
  opacity:.84;
  pointer-events:none;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 900 1200'%3E%3Cg fill='none' stroke='%237fc2ff' stroke-width='2.2' opacity='.72'%3E%3Cpath d='M650 0v148l-62 62v124l-48 48'/%3E%3Cpath d='M688 0v172l-60 60v130l-54 54'/%3E%3Cpath d='M726 0v195l-54 54v160l-60 60'/%3E%3Cpath d='M900 355H790l-55 55H620'/%3E%3Cpath d='M900 402H820l-66 66H640'/%3E%3Cpath d='M900 448H840l-68 68H654'/%3E%3Cpath d='M900 690H790l-66-66H610'/%3E%3Cpath d='M900 744H820l-82-82H624'/%3E%3Cpath d='M900 800H848l-93-93H642'/%3E%3Cpath d='M616 1200v-150l-56-56V850l-52-52'/%3E%3Cpath d='M667 1200v-175l-54-54V825l-49-49'/%3E%3C/g%3E%3Cg fill='%23b9ddff' opacity='.85'%3E%3Ccircle cx='588' cy='334' r='4'/%3E%3Ccircle cx='574' cy='416' r='4'/%3E%3Ccircle cx='620' cy='410' r='4'/%3E%3Ccircle cx='610' cy='624' r='4'/%3E%3Ccircle cx='624' cy='662' r='4'/%3E%3Ccircle cx='508' cy='798' r='4'/%3E%3C/g%3E%3Cg fill='%230b4d93' stroke='%2398ceff' stroke-width='1.5' opacity='.85'%3E%3Crect x='537' y='500' width='32' height='32' rx='3'/%3E%3Crect x='699' y='637' width='27' height='27' rx='3'/%3E%3Crect x='553' y='985' width='28' height='28' rx='3'/%3E%3C/g%3E%3C/svg%3E");
  background-size:cover;
  background-position:center;
  filter:drop-shadow(0 0 8px rgba(53,151,255,.18));
}

.mt3-left::after{
  content:"";
  position:absolute;
  inset:0;
  z-index:1;
  background:
    radial-gradient(circle at 80% 28%,rgba(25,123,240,.16),transparent 30%),
    radial-gradient(circle at 72% 72%,rgba(15,102,215,.14),transparent 34%),
    linear-gradient(180deg,rgba(1,17,44,.06),rgba(1,18,48,.24));
  pointer-events:none;
}

.mt3-right{
  display:flex;
  align-items:center;
  justify-content:center;
  padding:0;
  isolation:isolate;
  background:
    linear-gradient(135deg,rgba(255,255,255,.82),rgba(239,247,255,.83)),
    url("https://unsplash.com/photos/0PPw9irzLIw/download?force=true&w=1600") center/cover no-repeat;
}

.mt3-right::after{
  content:"";
  position:absolute;
  inset:0;
  z-index:0;
  background:rgba(247,251,255,.40);
  pointer-events:none;
}

/* Hide the obsolete generated marble layers; only the final surfaces above are used. */
.mt3-marble,.mt3-light-marble{display:none!important}

.mt3-left-content{
  position:relative;
  z-index:3;
  display:flex;
  flex-direction:column;
  height:100%;
  padding:clamp(46px,5.1vw,80px) clamp(48px,6.1vw,98px) clamp(44px,5vw,72px);
}

.mt3-logo{display:flex;align-items:center;gap:19px;width:max-content;color:#fff}
.mt3-logo-mark{width:72px;height:72px;display:grid;place-items:center}
.mt3-logo-mark svg{width:100%;height:100%;filter:drop-shadow(0 5px 16px rgba(0,0,0,.18))}
.mt3-logo-type{font-size:20px;line-height:1.28;letter-spacing:.28em;font-weight:520;text-shadow:0 3px 16px rgba(0,20,55,.22)}

.mt3-left-copy{
  margin-top:auto;
  margin-bottom:auto;
  max-width:620px;
  padding:48px 0 12px;
}

.mt3-left-copy h2{
  margin:0 0 28px;
  max-width:620px;
  color:#fff;
  font-size:clamp(42px,4.05vw,67px);
  line-height:1.03;
  letter-spacing:-.047em;
  font-weight:680;
  text-shadow:0 3px 28px rgba(0,18,48,.28);
}

.mt3-left-copy>p{
  margin:-11px 0 34px;
  max-width:510px;
  color:rgba(239,247,255,.84);
  font-size:clamp(13px,.98vw,16px);
  line-height:1.62;
  text-shadow:0 2px 12px rgba(0,15,40,.22);
}

.mt3-benefits{display:grid;gap:22px;max-width:525px}
.mt3-benefit{display:grid;grid-template-columns:62px 1fr;gap:18px;align-items:center}
.mt3-benefit-icon{
  width:62px;height:62px;border-radius:999px;display:grid;place-items:center;
  background:rgba(72,137,220,.24);border:1px solid rgba(176,214,255,.20);
  box-shadow:inset 0 0 26px rgba(87,165,255,.08),0 10px 25px rgba(0,29,72,.11)
}
.mt3-benefit-icon svg{width:30px;height:30px;stroke:#fff;fill:none;stroke-width:1.8}
.mt3-benefit b{display:block;font-size:17px;line-height:1.2;color:#fff;margin-bottom:5px;font-weight:650}
.mt3-benefit span{display:block;color:rgba(233,244,255,.79);font-size:13px;line-height:1.45}

.mt3-left-footer{
  display:flex;align-items:center;gap:18px;color:rgba(240,248,255,.79);
  font-size:9px;letter-spacing:.48em;text-transform:uppercase;white-space:nowrap;
  text-shadow:0 2px 12px rgba(0,20,50,.24)
}
.mt3-left-footer::before{content:"";display:block;width:34px;height:1px;background:#fff}

.mt3-help{
  position:absolute;top:34px;right:58px;z-index:4;display:flex;align-items:center;gap:16px;
  color:#28466f;font-size:13px
}
.mt3-help b{font-weight:500}.mt3-help span{width:1px;height:18px;background:#8ca0be}
.mt3-help a{color:#0867df;text-decoration:none;font-weight:680}.mt3-help a:hover{text-decoration:underline}
.mt3-help .mt3-home-return{
  min-height:34px;
  padding:0 12px;
  border:1px solid rgba(55,105,170,.28);
  border-radius:9px;
  background:rgba(255,255,255,.74);
  color:#294f7f;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  font-weight:680;
  box-shadow:0 4px 14px rgba(42,84,140,.06);
  backdrop-filter:blur(8px);
  -webkit-backdrop-filter:blur(8px);
  transition:background .15s ease,border-color .15s ease,color .15s ease,transform .15s ease
}
.mt3-help .mt3-home-return:hover{
  text-decoration:none;
  color:#0867df;
  border-color:rgba(8,103,223,.42);
  background:#fff;
  transform:translateY(-1px)
}

.mt3-right-slot{position:relative;z-index:3;width:100%;display:flex;align-items:center;justify-content:center}
.mt3-stack{position:relative;z-index:4;width:64.2%;max-width:none!important;margin:0!important}
.mt3-stack.mt3-login{width:61.8%;max-width:none!important}

.mt3-card{
  width:100%;box-sizing:border-box;margin:0!important;display:grid;gap:14px;
  border:1px solid rgba(200,218,241,.93);border-radius:13px;
  background:rgba(255,255,255,.975);color:var(--mt-ink);
  box-shadow:0 24px 64px rgba(38,78,132,.14),0 2px 8px rgba(26,65,116,.04);
  backdrop-filter:blur(7px)
}

body:has(#auth-form) .mt3-card{
  min-height:62.5vh;
  padding:6.0vh 7.5% 4.6vh;
  align-content:center;
}

body:has(#signup-form) .mt3-card{
  min-height:81.7vh;
  padding:3.8vh 7.4% 2.9vh;
  align-content:start;
  gap:12px;
}

.mt3-card-header{display:grid;gap:8px;margin:0 0 5px}
.mt3-card-header .kicker{color:#0868df;font-size:10px;font-weight:850;letter-spacing:.19em;text-transform:uppercase}
.mt3-card-header h1{margin:0;color:#061b43;font-size:clamp(40px,2.65vw,56px);line-height:1;letter-spacing:-.046em;font-weight:790}
.mt3-card-header p{margin:0;color:#567099;font-size:clamp(12px,.84vw,16px);line-height:1.52;font-weight:450}

.mt3-form-grid{display:grid;grid-template-columns:1fr!important;gap:13px!important}
.mt3-field{display:grid;gap:7px;color:#071c45;font-size:clamp(11px,.76vw,14px);font-weight:730}
.mt3-input-wrap{position:relative;display:block}
.mt3-input-icon{position:absolute;left:14px;top:50%;transform:translateY(-50%);width:20px;height:20px;stroke:#27508e;fill:none;stroke-width:1.8;z-index:2;pointer-events:none}
.mt3-input-icon svg{width:100%;height:100%}
.mt3-input-wrap input,.mt3-input-wrap select{
  width:100%;box-sizing:border-box;height:clamp(48px,5.18vh,58px);
  border:1px solid #bdd0ea;border-radius:8px;background:#f9fbff;color:#10294f;
  padding:0 48px 0 49px;outline:none;font-size:clamp(13px,.90vw,16px);font-weight:500;
  box-shadow:inset 0 1px 2px rgba(20,55,100,.02);
  transition:border-color .15s ease,box-shadow .15s ease,background .15s ease
}
.mt3-input-wrap select{appearance:auto;padding-right:14px}
.mt3-input-wrap input::placeholder{color:#91a4c4}
.mt3-input-wrap input:focus,.mt3-input-wrap select:focus{border-color:#5596ec;background:#fff;box-shadow:0 0 0 3px rgba(17,106,229,.10)}

.mt3-password-toggle{
  position:absolute;right:9px;top:50%;transform:translateY(-50%);width:36px;height:36px;
  border:0;border-radius:8px;background:transparent;display:grid;place-items:center;color:#1f4f91;cursor:pointer
}
.mt3-password-toggle:hover{background:#edf5ff}.mt3-password-toggle svg{width:21px;height:21px;stroke:currentColor;fill:none;stroke-width:1.8}

.mt3-forgot{justify-self:end;margin:-4px 0 2px;border:0;background:none;color:#0868e5;font-size:clamp(10px,.72vw,13px);font-weight:750;padding:0;cursor:pointer}
.mt3-forgot:hover{text-decoration:underline}
.mt3-error{border:1px solid #efc5c5;background:#fff5f5;color:#a82c26;border-radius:8px;padding:9px 11px;font-size:11px;line-height:1.4}

.mt3-primary{
  width:100%;height:clamp(52px,5.72vh,64px);border:0;border-radius:8px;
  background:linear-gradient(135deg,#0d79f3 0%,#0a5dd7 100%);color:#fff;
  font-size:clamp(15px,1.02vw,19px);font-weight:620;display:flex;align-items:center;justify-content:center;gap:11px;
  box-shadow:0 11px 24px rgba(10,99,221,.21);cursor:pointer;transition:transform .15s ease,box-shadow .15s ease
}
.mt3-primary:hover{transform:translateY(-1px);box-shadow:0 14px 29px rgba(10,99,221,.27)}
.mt3-primary svg{width:20px;height:20px;stroke:#fff;fill:none;stroke-width:1.8}

.mt3-terms{display:flex!important;align-items:flex-start;gap:10px;color:#213d69;font-size:clamp(11px,.78vw,14px);line-height:1.45;font-weight:500;margin:0}
.mt3-terms input{width:18px;height:18px;min-width:18px;margin:0;accent-color:#0e6fe9}
.mt3-terms a{color:#0869e6;text-decoration:underline;text-underline-offset:2px}

.mt3-card-footer{margin-top:9px;padding-top:20px;border-top:1px solid #dde7f3;display:flex;align-items:center;justify-content:space-between;gap:24px}
.mt3-card-footer strong{display:block;color:#071d45;font-size:clamp(11px,.77vw,14px);font-weight:730;margin-bottom:4px}
.mt3-card-footer span{display:block;color:#5b7298;font-size:clamp(10px,.68vw,12px)}
.mt3-secondary{
  height:47px;min-width:130px;border:1px solid #72a8ef;border-radius:8px;background:#fff;color:#0866df;
  font-size:clamp(12px,.86vw,15px);font-weight:650;display:flex;align-items:center;justify-content:center;gap:8px;padding:0 17px;cursor:pointer
}
.mt3-secondary:hover{background:#f3f8ff}.mt3-secondary svg{width:18px;height:18px;stroke:#0866df;fill:none;stroke-width:1.8}

.mt3-right-footer{
  position:absolute;bottom:28px;left:50%;transform:translateX(-50%);width:min(84%,760px);z-index:4;
  display:flex;justify-content:space-between;align-items:center;color:#536f99;font-size:11px;white-space:nowrap
}
.mt3-right-footer .links{display:flex;gap:17px;align-items:center}.mt3-right-footer .links span{opacity:.55}
.mt3-right-footer a{color:#45668f;text-decoration:none}.mt3-right-footer a:hover{color:#0865df}
.mt3-hidden{display:none!important}

/* Small alignment differences between the two approved auth renders. */
body:has(#auth-form) .mt3-stack{transform:translateY(.3vh)}
body:has(#signup-form) .mt3-stack{transform:translateY(-.2vh)}
body:has(#signup-form) .mt3-card-header{margin-bottom:1px}
body:has(#signup-form) .mt3-card-header h1{font-size:clamp(37px,2.52vw,53px)}
body:has(#signup-form) .mt3-input-wrap input{height:clamp(46px,4.82vh,55px)}
body:has(#signup-form) .mt3-primary{height:clamp(49px,5.32vh,60px)}
body:has(#signup-form) .mt3-card-footer{margin-top:6px;padding-top:17px}

@media(max-width:1180px){
  .mt3-left-content{padding-left:45px;padding-right:45px}
  .mt3-left-copy h2{font-size:46px}.mt3-benefit{grid-template-columns:52px 1fr}.mt3-benefit-icon{width:52px;height:52px}
  .mt3-stack,.mt3-stack.mt3-login{width:72%}.mt3-help{right:38px}
}

@media(max-width:900px){
  body:has(.mt3-auth){overflow:auto}
  .mt3-auth{grid-template-columns:1fr;min-height:100vh}
  .mt3-left{min-height:255px;background-position:center 45%}
  .mt3-left::before{opacity:.55}
  .mt3-left-content{padding:26px}
  .mt3-logo-mark{width:49px;height:49px}.mt3-logo-type{font-size:14px}
  .mt3-left-copy{padding:25px 0 8px;margin:0}.mt3-left-copy h2{font-size:34px;margin-bottom:10px}.mt3-left-copy>p{margin:0}
  .mt3-benefits,.mt3-left-footer{display:none}
  .mt3-right{min-height:calc(100vh - 255px);padding:72px 20px 84px}
  .mt3-help{top:22px;right:24px}
  .mt3-stack,.mt3-stack.mt3-login{width:min(620px,100%);transform:none!important}
  .mt3-card,body:has(#auth-form) .mt3-card,body:has(#signup-form) .mt3-card{min-height:auto;padding:30px 28px;align-content:start}
  .mt3-card-header h1,body:has(#signup-form) .mt3-card-header h1{font-size:38px}
  .mt3-right-footer{bottom:18px;width:calc(100% - 36px);font-size:10px}
}

@media(max-width:560px){
  .mt3-left{min-height:195px}.mt3-left-copy h2{font-size:28px}.mt3-left-copy>p{font-size:12px}
  .mt3-right{padding:62px 14px 92px}.mt3-card,body:has(#auth-form) .mt3-card,body:has(#signup-form) .mt3-card{padding:26px 20px}
  .mt3-card-header h1,body:has(#signup-form) .mt3-card-header h1{font-size:34px}
  .mt3-help b,.mt3-help>span{display:none}.mt3-help{gap:8px;right:14px}.mt3-help .mt3-home-return{min-height:32px;padding:0 10px;font-size:11px}.mt3-right-footer{flex-direction:column;gap:8px}.mt3-card-footer{align-items:flex-start;flex-direction:column}.mt3-secondary{width:100%}
}


/* Segment 1 · signup pricing */
.mt3-trial-note{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:16px;padding:12px 14px;border:1px solid #cfe0f3;border-radius:12px;background:#f4f9ff;color:#163b67}
.mt3-trial-note b{font-size:13px;font-weight:800;color:#0b376d}
.mt3-trial-note span{font-size:12px;font-weight:650;color:#55708e;text-align:right}
@media(max-width:640px){.mt3-trial-note{align-items:flex-start;flex-direction:column;gap:3px}.mt3-trial-note span{text-align:left}}


/* Segment 1 auth module: locale selector + RTL support for the direct login render. */
.mt3-auth-language{display:inline-flex;align-items:center}
.mt3-auth-language select{
  min-height:34px;
  max-width:132px;
  border:1px solid rgba(55,105,170,.24);
  border-radius:9px;
  background:rgba(255,255,255,.74);
  color:#294f7f;
  padding:0 28px 0 10px;
  font-size:12px;
  font-weight:680;
  outline:none;
  cursor:pointer
}
.mt3-auth-language select:focus{border-color:#5596ec;box-shadow:0 0 0 3px rgba(17,106,229,.10)}
html[dir="rtl"] .mt3-auth{direction:ltr}
html[dir="rtl"] .mt3-left-content,
html[dir="rtl"] .mt3-card,
html[dir="rtl"] .mt3-help,
html[dir="rtl"] .mt3-right-footer{direction:rtl;text-align:right}
html[dir="rtl"] .mt3-input-icon{left:auto;right:14px}
html[dir="rtl"] .mt3-password-toggle{right:auto;left:9px}
html[dir="rtl"] .mt3-input-wrap input{padding-left:49px;padding-right:49px}
html[dir="rtl"] .mt3-forgot{justify-self:start}
@media(max-width:560px){
  .mt3-auth-language select{max-width:104px;min-height:32px;font-size:10px;padding-inline:8px}
}

/* Segment 3 · modular auth support flows */
.mt3-notice{border:1px solid #bfdcc9;background:#f2fbf5;color:#215d37;border-radius:8px;padding:10px 12px;font-size:12px;line-height:1.45}
.mt3-support-back{width:100%;margin-top:2px}
.mt3-link-button{text-decoration:none;box-sizing:border-box}
.mt3-aux form{display:grid;gap:14px}
.mt3-aux .mt3-card{padding:clamp(28px,4.4vh,48px) 7.5%;align-content:center}
html[dir="rtl"] .mt3-notice{direction:rtl;text-align:right}
