/* Public authentication surfaces share the marketing identity; cabinet themes stay independent. */
body.marketing-auth-page { margin:0; background:#1f1f1f; }
.auth-page.auth-page-marketing {
  --auth-ink:#f9f9f9;
  --auth-muted:#b8c3c6;
  --auth-line:#ffffff26;
  --auth-accent:#62d6e0;
  --auth-gradient:radial-gradient(ellipse 151.7% 126.7% at 50% 0,#0d98a8 0,#0b7c8b 25%,#08606f 50%,#064452 75%,#032736 100%);
  position:relative;
  isolation:isolate;
  min-height:100vh;
  min-height:100svh;
  grid-template-columns:minmax(0,1.08fr) minmax(0,1fr);
  align-items:center;
  gap:clamp(32px,5vw,88px);
  padding:48px max(32px,calc((100vw - 1280px)/2));
  background:radial-gradient(ellipse at 8% 100%,#124e57 0,transparent 55%),#1f1f1f;
  color:var(--auth-ink);
  font-family:"Rubik",Arial,sans-serif;
  font-weight:400;
}
.auth-page.auth-page-marketing::before {
  content:"";
  position:absolute;
  z-index:-1;
  inset:15% 42% 0 0;
  pointer-events:none;
  background:url('/img/marketing-v2/figma/hero-grid.svg') center/cover no-repeat;
  opacity:.35;
}
.auth-page.auth-page-marketing .auth-brand-pane {
  min-width:0;
  min-height:0;
  overflow:visible;
  background:none;
}
.auth-page.auth-page-marketing .auth-brand-content {
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  width:100%;
  min-height:min(650px,calc(100svh - 96px));
  margin:0;
  padding:0;
  text-align:left;
  background:none;
}
.auth-page.auth-page-marketing .auth-brand { display:inline-flex; flex:none; width:78px; }
.auth-page.auth-page-marketing .auth-brand img {
  display:block;
  width:100%;
  height:auto;
  aspect-ratio:70 / 71.4483;
  object-fit:contain;
  filter:none;
}
.auth-page.auth-page-marketing .auth-brand-message { margin:auto 0; padding:56px 0; }
.auth-page.auth-page-marketing .auth-brand-eyebrow {
  display:block;
  margin-bottom:20px;
  color:var(--auth-accent);
  font-size:12px;
  font-weight:500;
  letter-spacing:.14em;
  line-height:1.5;
  text-transform:uppercase;
}
.auth-page.auth-page-marketing .auth-brand-message h2 {
  margin:0;
  color:var(--auth-ink);
  font:500 clamp(36px,3.6vw,52px)/1.12 "Rubik",Arial,sans-serif;
  letter-spacing:-.04em;
}
.auth-page.auth-page-marketing .auth-brand-message h2 span { color:var(--auth-accent); }
.auth-page.auth-page-marketing .auth-brand-content p {
  width:min(420px,100%);
  margin:24px 0 0;
  color:var(--auth-muted);
  font-size:17px;
  line-height:1.6;
}
.auth-page.auth-page-marketing .auth-home-link {
  display:inline-flex;
  align-items:center;
  gap:10px;
  min-height:44px;
  color:var(--auth-muted);
  font-size:14px;
  text-decoration:none;
}
.auth-page.auth-page-marketing .auth-home-link:hover { color:#fff; }
.auth-page.auth-page-marketing .auth-home-link .cabinet-ui-icon { width:18px; height:18px; flex:0 0 18px; }
.auth-page.auth-page-marketing .auth-form-pane { min-width:0; min-height:0; padding:0; background:none; }
.auth-page.auth-page-marketing .auth-form-wrap {
  position:relative;
  width:min(480px,100%);
  margin:0 auto;
  padding:40px;
  border:1px solid var(--auth-line);
  border-radius:28px;
  background:linear-gradient(150deg,#ffffff0b,#ffffff03),#232828;
  box-shadow:0 24px 80px #00000020;
}
.auth-page.auth-page-marketing .auth-language { position:absolute; top:28px; right:28px; margin:0; color:#e9f4f5; }
.auth-page.auth-page-marketing .fixtech-language-toggle { border:1px solid var(--auth-line); background:#ffffff08; }
.auth-page.auth-page-marketing .fixtech-language-toggle:hover { background:#ffffff12; box-shadow:none; }
.auth-page.auth-page-marketing .auth-surface-label { margin:0 46px 10px 0; color:var(--auth-muted); font-size:14px; line-height:1.5; }
.auth-page.auth-page-marketing .auth-form-wrap h1 { margin:0; color:#fff; font:500 34px/1.2 "Rubik",Arial,sans-serif; letter-spacing:-.025em; text-align:left; }
.auth-page.auth-page-marketing .auth-form { gap:20px; margin-top:32px; }
.auth-page.auth-page-marketing .auth-form label { min-width:0; gap:9px; color:#e7eced; font-size:14px; font-weight:400; }
.auth-page.auth-page-marketing .auth-form input:not([type="checkbox"]) {
  min-width:0;
  min-height:54px;
  padding:14px 16px;
  border:1px solid #576267;
  border-radius:14px;
  background:#1d2426;
  color:#fff;
  font:400 16px/1.4 "Rubik",Arial,sans-serif;
  caret-color:var(--auth-accent);
}
.auth-page.auth-page-marketing .auth-form input::placeholder { color:#9caaaf; opacity:1; }
.auth-page.auth-page-marketing .auth-form input:focus { border-color:var(--auth-accent); outline:3px solid #62d6e026; }
.auth-page.auth-page-marketing .auth-password-control { min-width:0; border:1px solid #576267; border-radius:14px; background:#1d2426; }
/* Chromium autofill otherwise paints a native inner frame despite border:0. */
.auth-page.auth-page-marketing .auth-password-control input:not([type="checkbox"]) { -webkit-appearance:none; appearance:none; border:0; border-radius:14px 0 0 14px; padding-right:4px; }
.auth-page.auth-page-marketing .auth-password-control input:focus { outline:0; box-shadow:none; }
.auth-page.auth-page-marketing .auth-password-control:focus-within { border-color:var(--auth-accent); outline:3px solid #62d6e026; box-shadow:none; }
.auth-page.auth-page-marketing .auth-password-toggle { width:50px; min-height:52px; padding:14px; border:0; color:var(--auth-muted); background:none; }
.auth-page.auth-page-marketing .auth-form input:-webkit-autofill { -webkit-text-fill-color:#fff; box-shadow:0 0 0 1000px #1d2426 inset; caret-color:var(--auth-accent); }
.auth-page.auth-page-marketing .auth-password-control input:-webkit-autofill { background-clip:content-box; }
.auth-page.auth-page-marketing .auth-forgot { margin:0; color:var(--auth-muted); font-size:13px; text-underline-offset:4px; }
.auth-page.auth-page-marketing .auth-forgot:hover { color:#fff; }
.auth-page.auth-page-marketing .auth-actions { gap:12px; margin-top:8px; }
.auth-page.auth-page-marketing :is(.auth-primary,.auth-secondary) {
  min-height:54px;
  padding:12px 20px;
  border:1px solid #ffffff99;
  border-radius:100px;
  font:500 15px/1.35 "Rubik",Arial,sans-serif;
  text-align:center;
  color:#fff;
  cursor:pointer;
  transition:background-color .18s,box-shadow .18s,transform .18s;
}
.auth-page.auth-page-marketing .auth-primary { background:var(--auth-gradient); box-shadow:0 0 16px #0d98a829; }
.auth-page.auth-page-marketing .auth-secondary { background:#ffffff0a; }
.auth-page.auth-page-marketing :is(.auth-primary,.auth-secondary):hover { transform:translateY(-1px); box-shadow:0 0 20px #0d98a84d; }
.auth-page.auth-page-marketing :is(a,button):focus-visible { outline:3px solid var(--auth-accent); outline-offset:4px; }
.auth-page.auth-page-marketing .auth-method-switch { width:100%; margin-top:28px; padding:4px; gap:4px; border:1px solid var(--auth-line); border-radius:100px; background:#171d1f; }
.auth-page.auth-page-marketing .auth-method-tab { min-width:0; min-height:44px; padding:10px 12px; border-radius:100px; color:var(--auth-muted); font:500 13px/1.4 "Rubik",Arial,sans-serif; }
.auth-page.auth-page-marketing .auth-method-tab:hover { color:#fff; }
.auth-page.auth-page-marketing .auth-method-tab.is-active { color:#fff; background:#0b6372; box-shadow:0 2px 8px #0002; transform:none; }
.auth-page.auth-page-marketing .auth-method-switch + .auth-form,
.auth-page.auth-page-marketing .auth-pin-form { margin-top:26px; }
.auth-page.auth-page-marketing .auth-form .auth-pin-control .auth-pin-input { min-height:64px; padding:14px 48px 14px 16px; font-size:24px; letter-spacing:.4em; text-align:center; }
.auth-page.auth-page-marketing .auth-form .auth-pin-input::placeholder { font-size:15px; letter-spacing:0; }
.auth-page.auth-page-marketing .auth-pin-control { border-radius:14px; }
.auth-page.auth-page-marketing .auth-pin-control.is-complete .auth-pin-input { border-color:#62d6e0; background:#17383c; box-shadow:none; }
.auth-page.auth-page-marketing :is(.auth-pin-status,.auth-field-hint) { color:var(--auth-muted); font-size:12px; font-weight:400; line-height:1.5; }
.auth-page.auth-page-marketing .auth-pin-control.is-complete + .auth-pin-status { color:var(--auth-accent); }
.auth-page.auth-page-marketing .auth-form .auth-remember { display:flex; gap:10px; font-size:13px; line-height:1.5; color:var(--auth-muted); }
.auth-page.auth-page-marketing .auth-remember input { accent-color:#0d98a8; }
.auth-page.auth-page-marketing :is(.auth-alert,.auth-notice) { margin-top:24px; border-radius:12px; padding:14px 16px; font-size:14px; line-height:1.5; }
.auth-page.auth-page-marketing .auth-alert { border:1px solid #ef929266; background:#612d2d55; color:#ffc1c1; }
.auth-page.auth-page-marketing .auth-notice { border:1px solid #62d6e066; background:#0b637233; color:#b5f0f4; }
body.marketing-auth-page .fixtech-language-dialog { border-color:#485257; border-radius:20px; background:#252c2e; color:#fff; font-family:"Rubik",Arial,sans-serif; }
body.marketing-auth-page .fixtech-language-dialog button { color:#e7eced; background:#303b3e; border-color:#4c5b60; }
body.marketing-auth-page .fixtech-language-dialog button[aria-current] { background:#0b6372; border-color:#62d6e0; }
body.marketing-auth-page .fixtech-language-close { border-radius:50%; }
.auth-page.auth-page-register { grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr); }
.auth-page.auth-page-register .auth-form-wrap { width:min(640px,100%); }
.auth-page.auth-page-marketing .auth-phone-control { min-height:54px; border:0; border-radius:14px; background:none; }
.auth-page.auth-page-marketing .auth-phone-control:focus-within { outline:0; }
.auth-page.auth-page-marketing .auth-field-error { color:#ffc1c1; font-size:13px; }
.auth-page.auth-page-marketing .auth-hint { margin:0; color:var(--auth-muted); font-size:13px; line-height:1.5; }
.auth-page.auth-page-marketing .auth-consent { color:var(--auth-muted); font-size:13px; }
.auth-page.auth-page-marketing .auth-consent a { color:var(--auth-accent); font-weight:400; }
.auth-page.auth-page-marketing .auth-consent input { accent-color:#0d98a8; }
.auth-page.auth-page-recovery .auth-actions { grid-template-columns:1fr; }
.auth-page.auth-page-marketing .auth-confirm-wrap { text-align:left; }
.auth-page.auth-page-marketing .auth-confirm-wrap p:not(.auth-surface-label) { margin:24px 0 0; color:var(--auth-muted); font-size:15px; line-height:1.6; }
.auth-page.auth-page-marketing .auth-confirm-wrap .auth-confirm-email { color:var(--auth-accent); overflow-wrap:anywhere; }
.auth-page.auth-page-marketing .auth-confirm-link { display:inline-flex; align-items:center; min-height:44px; padding:0; background:none; color:var(--auth-accent); font-size:14px; text-underline-offset:4px; }
@media(max-width:1000px) {
  .auth-page.auth-page-marketing { gap:32px; padding:32px; grid-template-columns:minmax(0,.9fr) minmax(0,1fr); }
  .auth-page.auth-page-marketing .auth-brand-message h2 { font-size:38px; }
  .auth-page.auth-page-marketing .auth-form-wrap { padding:32px 28px; }
  .auth-page.auth-page-register { grid-template-columns:minmax(0,1fr); gap:24px; }
  .auth-page.auth-page-register .auth-brand-content { flex-direction:row; align-items:center; justify-content:space-between; min-height:0; width:min(640px,100%); margin:auto; }
  .auth-page.auth-page-register .auth-brand-message { display:none; }
  .auth-page.auth-page-register .auth-brand { width:58px; }
}
@media(max-width:760px) {
  .auth-page.auth-page-marketing { display:flex; flex-direction:column; align-items:stretch; justify-content:center; gap:24px; padding:24px 20px 32px; }
  .auth-page.auth-page-marketing::before { inset:0; opacity:.15; }
  .auth-page.auth-page-marketing .auth-brand-content { flex-direction:row; align-items:center; justify-content:space-between; min-height:0; padding:0; width:min(480px,100%); margin:auto; }
  .auth-page.auth-page-marketing .auth-brand { width:58px; }
  .auth-page.auth-page-marketing .auth-brand-message { display:none; }
  .auth-page.auth-page-marketing .auth-home-link { font-size:13px; }
  .auth-page.auth-page-marketing .auth-form-wrap { padding:30px 24px; border-radius:24px; }
  .auth-page.auth-page-marketing .auth-language { top:24px; right:22px; }
  .auth-page.auth-page-marketing .auth-form-wrap h1 { font-size:30px; }
  .auth-page.auth-page-marketing .auth-actions { grid-template-columns:1fr; }
}
@media(max-width:600px) {
  .auth-page.auth-page-marketing .auth-form-register { grid-template-columns:minmax(0,1fr); }
  .auth-page.auth-page-marketing .auth-form-wrap h1 { font-size:28px; overflow-wrap:anywhere; }
}
@media(prefers-reduced-motion:reduce) {
  .auth-page.auth-page-marketing * { transition:none; animation:none; }
}
