/* MHH Data homepage = the customer sign-in page (src/home-view.php). Design: the approved homepage preview
 * MHH_PREIZKUS.html, with larger type for readability (body 16px, labels 15px, inputs and buttons 16px, headings
 * scaled to match). Everything is scoped to body.home-page; app.css still loads first for the shared dialogs. */

.home-page {
  --ink: #112d43;
  --muted: #667e90;
  --teal: #087e83;
  --line: #dce8ef;
  --card-shadow: 0 10px 36px rgba(21,65,91,.065);
  --radius: 20px;
  margin: 0;
  background: #edf6fa;
  color: var(--ink);
  font-family: Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;
  font-size: 16px;
  line-height: 1.5;
  font-synthesis: none;
}

.home-page *,
.home-page *:before,
.home-page *:after {
  box-sizing: border-box;
}

.home-page button,
.home-page input,
.home-page a {
  -webkit-tap-highlight-color: transparent;
}

.home-page button,
.home-page input {
  font: inherit;
}

.home-page button,
.home-page a {
  touch-action: manipulation;
}

.home-page button:focus-visible,
.home-page a:focus-visible,
.home-page input:focus-visible,
.home-page [tabindex="0"]:focus-visible {
  outline: 3px solid #1494b9;
  outline-offset: 4px;
}

.home-page a {
  color: var(--teal);
}

.home-page .svg-icon {
  width: 20px;
  height: 20px;
  flex: none;
  vertical-align: middle;
}

.home-page .sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

.home-page [hidden] {
  display: none !important;
}

.home-page .skip-link {
  position: fixed;
  top: 8px;
  left: 16px;
  padding: 12px 20px;
  border-radius: 10px;
  background: #fff;
  font-weight: 650;
  z-index: 100;
  transform: translateY(-150%);
}

.home-page .skip-link:focus {
  transform: none;
}

.home-page main.page {
  max-width: none;
  margin: 0;
  padding: 0;
}

.home-page #connection-status:empty {
  display: none;
}

/* --- Header ------------------------------------------------------------------------------------------------------ */

.home-page .site-header {
  height: 92px;
  background: linear-gradient(110deg,#04283a 0%,#0b3f59 58%,#062a3c 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid #43c4dc50;
}

.home-page .site-header:after {
  content: "";
  position: absolute;
  width: 560px;
  height: 260px;
  left: 45%;
  top: -164px;
  border: 1px solid #63bcd638;
  border-radius: 50%;
  box-shadow: 0 0 0 28px #7fc5dd09,0 0 0 56px #7fc5dd06;
  transform: rotate(-20deg);
  pointer-events: none;
}

.home-page .header-inner {
  height: 100%;
  max-width: 1584px;
  margin: auto;
  padding: 0 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  position: relative;
  z-index: 1;
}

.home-page .brand {
  display: flex;
  gap: 14px;
  align-items: center;
  min-width: 0;
  text-decoration: none;
  color: inherit;
  font-weight: inherit;
}

.home-page .brand-logo {
  flex: none;
  width: 66px;
  height: 66px;
  border-radius: 0;
  background: none;
  filter: drop-shadow(0 0 8px #16c5f12c);
}

.home-page .brand-text {
  min-width: 0;
}

.home-page .brand-title {
  display: block;
  font-size: 27px;
  line-height: 1.2;
  font-weight: 650;
  letter-spacing: -.5px;
}

.home-page .brand-tagline {
  display: block;
  font-size: 11px;
  line-height: 1.3;
  letter-spacing: 2.6px;
  margin-top: 7px;
  color: #bbd7e4;
  font-weight: 550;
}

.home-page .header-actions {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 10px;
}

.home-page .header-locale {
  font-size: 15px;
  color: #d0e3eb;
  display: flex;
  gap: 7px;
  align-items: center;
  margin-right: 14px;
  white-space: nowrap;
}

.home-page .header-locale .svg-icon {
  width: 18px;
  height: 18px;
}

/* --- Buttons ----------------------------------------------------------------------------------------------------- */

.home-page .btn {
  border: 1px solid transparent;
  border-radius: 11px;
  min-height: 48px;
  margin: 0;
  padding: 11px 21px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 650;
  font-size: 16px;
  line-height: 1.25;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background .18s,box-shadow .18s,transform .18s;
}

.home-page .btn:hover {
  transform: translateY(-1px);
}

.home-page .btn:active {
  transform: translateY(0);
}

.home-page .btn:disabled {
  opacity: .6;
  cursor: wait;
  transform: none;
}

.home-page .btn-light {
  background: #f5fbfe;
  color: #163d4f;
  border-color: #d8ebf4;
}

.home-page .btn-primary {
  background: linear-gradient(120deg,#087e83,#076d7c);
  color: #fff;
  border-color: #087984;
  box-shadow: 0 5px 12px #087f8317;
}

.home-page .btn-primary:hover {
  background: linear-gradient(120deg,#086d74,#075e6d);
  box-shadow: 0 6px 18px #087f8328;
}

/* --- Page background and columns -------------------------------------------------------------------------------- */

.home-page .workspace {
  position: relative;
  isolation: isolate;
  min-height: calc(100vh - 92px);
  padding-bottom: 40px;
  overflow: hidden;
  background: radial-gradient(ellipse at 22% 45%,#cde9f8 0%,transparent 55%),linear-gradient(135deg,#eef7fb 0%,#e6f3fa 60%,#f1f8fc 100%);
}

.home-page .workspace:before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background-image: radial-gradient(#7dafc130 .8px,transparent .8px);
  background-size: 23px 23px;
  -webkit-mask-image: linear-gradient(90deg,#0000 0%,#0004 45%,#000 100%);
  mask-image: linear-gradient(90deg,#0000 0%,#0004 45%,#000 100%);
}

.home-page .workspace:after {
  content: "";
  position: absolute;
  z-index: -1;
  width: 1500px;
  height: 740px;
  top: 100px;
  left: -670px;
  border: 1px solid #fff9;
  border-radius: 50%;
  box-shadow: 0 0 0 35px #ffffff22,0 0 0 70px #ffffff18,0 0 0 105px #ffffff15;
  transform: rotate(-24deg);
  pointer-events: none;
}

.home-page .layout {
  max-width: 1584px;
  margin: auto;
  padding: 30px 28px 0;
  display: grid;
  grid-template-columns: minmax(0,1fr) 480px;
  gap: 26px;
  align-items: start;
}

.home-page .left-column,
.home-page .right-column {
  min-width: 0;
}

/* --- SFD1 banner: a thin strip (description hidden on phones) ---------------------------------------------------- */

.home-page .sfd-banner {
  border: 1px solid #ffffffed;
  background: linear-gradient(120deg,#fff 35%,#f9fcfe 75%,#e9f3f9);
  border-radius: 16px;
  padding: 13px 22px;
  display: grid;
  grid-template-columns: 44px minmax(0,1fr) auto;
  gap: 18px;
  align-items: center;
  box-shadow: var(--card-shadow);
  position: relative;
  overflow: hidden;
}

.home-page .sfd-banner:after {
  content: "";
  position: absolute;
  right: 25%;
  top: -80px;
  height: 350px;
  width: 55px;
  background: #dfedf636;
  transform: rotate(36deg);
  pointer-events: none;
}

.home-page .vw-mark {
  width: 44px;
  height: auto;
  mix-blend-mode: multiply;
}

.home-page .overline {
  font-size: 13px;
  line-height: 1.4;
  letter-spacing: 2px;
  font-weight: 750;
  color: var(--teal);
  margin: 0 0 8px;
  text-transform: uppercase;
}

.home-page .sfd-content {
  position: relative;
  z-index: 1;
  min-width: 0;
}

.home-page .sfd-content .overline {
  font-size: 11.5px;
  letter-spacing: 1.8px;
  margin: 0 0 1px;
}

.home-page .sfd-content h2 {
  font-size: 20px;
  line-height: 1.25;
  letter-spacing: -.4px;
  margin: 0 0 2px;
  font-weight: 730;
  color: #132d48;
}

.home-page .sfd-content p:not(.overline) {
  font-size: 15px;
  line-height: 1.45;
  margin: 0;
  color: #617b8d;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.home-page .availability {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 3px;
  font-size: 13px;
  line-height: 1.4;
  font-weight: 550;
  color: #697f90;
}

.home-page .availability .svg-icon {
  width: 15px;
  height: 15px;
}

.home-page .oem-panel {
  padding-left: 18px;
  border-left: 1px solid #dbe7ee;
  text-align: center;
  z-index: 1;
}

.home-page .oem-title {
  font-size: 12px;
  line-height: 1.3;
  font-weight: 800;
  letter-spacing: 1.4px;
  margin: 0;
}

.home-page .oem-subtitle {
  font-size: 9.5px;
  line-height: 1.3;
  letter-spacing: 2.2px;
  margin-top: 1px;
  color: #758b98;
}

.home-page .oem-logos {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 7px;
}

.home-page .oem-logos img {
  width: auto;
  height: auto;
  max-width: 28px;
  max-height: 30px;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.home-page .oem-logos .porsche {
  max-width: 23px;
}

/* --- Vehicle scene (public/assets/home.js) ----------------------------------------------------------------------- */

.home-page .vehicle-explorer {
  margin-top: 4px;
}

.home-page .scene-wrap {
  position: relative;
}

.home-page .scene {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
  user-select: none;
  -webkit-user-select: none;
  touch-action: pan-y;
}

.home-page .vehicle-image {
  pointer-events: none;
}

.home-page .orbit-ground {
  fill: url(#mhh-orbitGround);
}

.home-page .orbit-soft {
  fill: none;
  stroke: #73dbe5;
  stroke-width: 12;
  opacity: .09;
}

.home-page .orbit-track {
  fill: none;
  stroke: #42bdcd;
  stroke-width: 2;
  opacity: .5;
}

.home-page .orbit-inner {
  fill: none;
  stroke: #5eabbf;
  stroke-width: .75;
  stroke-dasharray: 2 9;
  opacity: .32;
}

.home-page .program-node {
  cursor: default;
  outline: none;
}

.home-page .hex-shadow {
  fill: #0d4d6a;
  transform: translateY(5px);
  opacity: .13;
  filter: blur(7px);
}

.home-page .hex-body {
  fill: url(#mhh-hexFill);
  stroke: #94e3eb;
  stroke-width: 1.6;
  filter: drop-shadow(0 3px 6px #16567625);
  transition: stroke .2s,filter .2s;
}

.home-page .hex-shine {
  fill: none;
  stroke: #b0f5fb;
  opacity: .25;
  stroke-width: 1;
}

.home-page .program-mark {
  pointer-events: none;
}

.home-page .mark-hgs {
  mix-blend-mode: screen;
}

.home-page .logo-word {
  font-family: Inter,"Segoe UI",Arial,sans-serif;
  pointer-events: none;
}

.home-page .vehicle-component .component-seat {
  fill: #12668718;
  stroke: #59cddc;
  stroke-width: 1;
  opacity: 0;
  stroke-dasharray: 3 3;
  transition: opacity .22s;
}

.home-page .component-leader {
  fill: none;
  stroke: #0b89a7;
  stroke-width: 1.3;
  stroke-dasharray: 3 3;
  opacity: 0;
  transition: opacity .18s;
}

.home-page .component-lift {
  opacity: .13;
  transform: translate(0,0) scale(.8);
  transition: transform .28s cubic-bezier(.2,.75,.25,1),opacity .22s,filter .28s;
  pointer-events: none;
}

.home-page .component-aura {
  fill: #062e48e0;
  stroke: #8ae8ef;
  stroke-width: .8;
  opacity: 0;
  transition: opacity .2s;
}

.home-page .component-hit {
  cursor: pointer;
  outline: none;
}

.home-page .hit-target {
  fill: transparent;
}

.home-page .pin-dot {
  fill: #f0fdff;
  stroke: #177c96;
  stroke-width: 1.1;
  filter: drop-shadow(0 1px 3px #15395f30);
  transition: fill .2s,stroke .2s;
}

.home-page .pin-ring {
  fill: none;
  stroke: #9aeef9;
  stroke-width: 1;
  opacity: .45;
}

.home-page .pin-number {
  fill: #0d5067;
  font-size: 7.5px;
  font-weight: 800;
  font-family: Inter,"Segoe UI",Arial,sans-serif;
  pointer-events: none;
}

.home-page .component-hit:hover .pin-dot,
.home-page .component-hit:focus-visible .pin-dot {
  stroke: #001d39;
  stroke-width: 1.8;
}

.home-page .component-hit:focus-visible .pin-ring {
  stroke: #005b7e;
  stroke-width: 2.5;
  opacity: 1;
}

.home-page .vehicle-component.is-active .component-lift {
  opacity: 1;
  transform: translate(var(--dx,0),var(--dy,0)) scale(1.1);
  filter: drop-shadow(0 8px 7px #053e5340);
}

.home-page .vehicle-component.is-active .component-aura {
  opacity: .97;
}

.home-page .vehicle-component.is-active .component-seat,
.home-page .vehicle-component.is-active .component-leader {
  opacity: .8;
}

.home-page .vehicle-component.is-active .pin-dot {
  fill: #067b8c;
  stroke: #c7fcff;
}

.home-page .vehicle-component.is-active .pin-number {
  fill: #fff;
}

.home-page .vehicle-component.is-active .pin-ring {
  stroke: #00879e;
  opacity: .7;
}

.home-page .scene-tooltip {
  position: absolute;
  pointer-events: none;
  z-index: 3;
  max-width: 260px;
  transform: translate(-50%,-100%);
  padding: 9px 13px;
  background: #f9fdfff5;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  color: #154459;
  box-shadow: 0 5px 15px #153f5718;
  border: 1px solid #bcdce9;
  border-radius: 10px;
  opacity: 0;
  transition: opacity .16s;
  white-space: nowrap;
}

.home-page .scene-tooltip.visible {
  opacity: 1;
}

.home-page .scene-tooltip strong {
  display: block;
  font-size: 14px;
  line-height: 1.35;
  font-weight: 700;
}

.home-page .scene-tooltip span {
  display: block;
  font-size: 12px;
  line-height: 1.35;
  color: #66869b;
  margin-top: 2px;
}

/* --- Sign-in card ------------------------------------------------------------------------------------------------ */

.home-page .auth-card {
  background: #fffefe;
  border: 1px solid #fff;
  border-radius: var(--radius);
  padding: 28px 32px 27px;
  box-shadow: var(--card-shadow);
}

.home-page .language-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 7px 6px;
  padding-bottom: 26px;
  border-bottom: 1px solid #edf2f6;
}

.home-page .lang-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  line-height: 1.2;
  font-weight: 600;
  min-height: 34px;
  padding: 6px 9px;
  border: 1px solid #e2ebf0;
  border-radius: 8px;
  background: #f8fbfc;
  color: #7c909e;
  text-decoration: none;
  white-space: nowrap;
  transition: background .18s,border-color .18s,color .18s;
}

.home-page .lang-pill:hover {
  background: #f0f7f9;
  border-color: #cfe0e8;
  color: #4f6a7b;
}

.home-page .lang-pill.active {
  background: #edf8f8;
  border-color: #b9dce0;
  color: #137782;
}

.home-page .flag {
  width: 18px;
  height: 13px;
  border-radius: 2px;
  object-fit: cover;
  box-shadow: 0 0 0 .5px #8798a733;
  flex: none;
}

.home-page .auth-heading {
  padding-top: 28px;
}

.home-page .auth-heading .overline {
  margin-bottom: 8px;
}

.home-page .auth-heading h1 {
  font-size: 40px;
  line-height: 1.15;
  font-weight: 730;
  letter-spacing: -1px;
  margin: 0;
  color: #132d48;
}

.home-page .auth-heading p:not(.overline) {
  font-size: 16px;
  line-height: 1.55;
  color: #748a9c;
  margin: 12px 0 26px;
}

.home-page .auth-notice {
  margin: -8px 0 20px;
  font-size: 15px;
  line-height: 1.5;
}

.home-page .field {
  margin-top: 18px;
}

.home-page .field label {
  display: block;
  margin: 0 0 9px;
  font-size: 15px;
  line-height: 1.3;
  font-weight: 650;
  color: #28495c;
}

.home-page .input-wrap {
  position: relative;
}

.home-page .input-wrap>.svg-icon {
  position: absolute;
  top: 17px;
  left: 15px;
  width: 19px;
  height: 19px;
  color: #6795a8;
  pointer-events: none;
}

.home-page .input-wrap input {
  width: 100%;
  height: 54px;
  margin: 0;
  border: 1px solid #d4e3ec;
  background: #f4f9fd;
  border-radius: 10px;
  color: #1f445b;
  font-size: 16px;
  padding: 12px 16px 12px 46px;
  transition: border .2s,box-shadow .2s;
}

.home-page .input-wrap.with-toggle input {
  padding-right: 54px;
}

.home-page .input-wrap input::placeholder {
  color: #91a5b4;
  opacity: 1;
}

.home-page .input-wrap input:focus {
  outline: 0;
  border-color: #3899ae;
  box-shadow: 0 0 0 3px #3b9eb915;
}

.home-page .eye-button {
  position: absolute;
  right: 6px;
  top: 6px;
  width: 42px;
  height: 42px;
  margin: 0;
  padding: 0;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #7794a5;
  cursor: pointer;
}

.home-page .eye-button:hover {
  background: #e9f3f8;
}

.home-page .eye-button .svg-icon {
  width: 20px;
  height: 20px;
}

.home-page .eye-button .eye-hide,
.home-page .eye-button[aria-pressed="true"] .eye-show {
  display: none;
}

.home-page .eye-button[aria-pressed="true"] .eye-hide {
  display: block;
}

.home-page .form-row {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 15px;
  margin: 15px 0 19px;
  font-size: 15px;
}

.home-page .text-button {
  display: inline;
  margin: 0;
  border: 0;
  background: transparent;
  padding: 0;
  font-size: inherit;
  line-height: inherit;
  font-weight: 650;
  color: var(--teal);
  text-align: left;
  text-decoration: none;
  cursor: pointer;
}

.home-page .text-button:hover {
  text-decoration: underline;
}

.home-page .captcha-box {
  margin: 0 0 19px;
  min-height: 78px;
}

.home-page .signin-submit {
  width: 100%;
  height: 54px;
  font-size: 16px;
}

.home-page .form-error {
  margin: 12px 0 0;
  font-size: 15px;
  line-height: 1.45;
}

.home-page .form-error:empty {
  display: none;
}

.home-page .auth-register {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  border-top: 1px solid #e8f0f5;
  margin: 24px 0 0;
  padding-top: 21px;
  font-size: 16px;
  color: #7a8e9d;
}

.home-page .auth-footnote {
  font-size: 14px;
  color: #8a9ba6;
  line-height: 1.45;
  text-align: center;
  margin: 16px 0 0;
}

.home-page .auth-register+.auth-footnote {
  margin-top: 14px;
}

.home-page .login-form+.auth-footnote {
  border-top: 1px solid #e8f0f5;
  margin-top: 24px;
  padding-top: 21px;
}

.home-page .auth-footnote .svg-icon {
  width: 16px;
  height: 16px;
  margin: -2px 7px 0 0;
}

/* --- Dialogs: password recovery (#forgot) and the result notice (#result, src/view.php page_end) ------------------ */

.home-page dialog {
  width: min(480px,calc(100% - 40px));
  border: 1px solid #dfebf1;
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 24px 100px #00263650;
  color: #193e52;
}

.home-page dialog::backdrop {
  background: #082a4259;
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}

.home-page dialog h2 {
  font-size: 26px;
  line-height: 1.25;
  letter-spacing: -.4px;
  margin: 0 34px 14px 0;
}

.home-page dialog p:not(.overline):not(.form-error) {
  font-size: 16px;
  line-height: 1.65;
  color: #698697;
  margin: 0 0 22px;
}

.home-page dialog .field {
  margin: 0 0 22px;
}

.home-page dialog form .btn,
.home-page #result .actions button {
  width: 100%;
}

.home-page .modal-close {
  position: absolute;
  right: 18px;
  top: 18px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 9px;
  background: #eff6fa;
  color: #7593a3;
  cursor: pointer;
}

.home-page .modal-close .svg-icon {
  width: 18px;
  height: 18px;
}

.home-page #result .actions {
  display: grid;
  gap: 10px;
}

.home-page #result .actions button {
  min-height: 50px;
  margin: 0;
  border-radius: 11px;
  font-size: 16px;
}

.home-page #result .actions button:not(.secondary) {
  background: linear-gradient(120deg,#087e83,#076d7c);
  border-color: #087984;
  color: #fff;
}

/* --- Responsive (breakpoints of the approved design) ------------------------------------------------------------- */

@media (min-width:1580px) {
  .home-page .layout {
    grid-template-columns: minmax(0,1fr) 500px;
  }

  .home-page .auth-card {
    padding: 31px 34px 29px;
  }
}

@media (max-width:1250px) {
  .home-page .layout {
    grid-template-columns: minmax(0,1fr) 440px;
    gap: 20px;
    padding: 24px 22px 0;
  }

  .home-page .sfd-banner {
    grid-template-columns: 40px minmax(0,1fr);
    gap: 16px;
    padding: 12px 18px;
  }

  .home-page .vw-mark {
    width: 40px;
  }

  .home-page .oem-panel {
    display: none;
  }

  .home-page .sfd-content p:not(.overline) {
    font-size: 14.5px;
  }

  .home-page .auth-card {
    padding: 25px;
  }

  .home-page .lang-pill {
    font-size: 13px;
    padding: 6px 8px;
  }

  .home-page .header-inner {
    padding: 0 23px;
  }
}

@media (max-width:1000px) {
  .home-page .layout {
    grid-template-columns: minmax(0,1fr) 370px;
    gap: 18px;
    padding: 22px 18px 0;
  }

  .home-page .sfd-banner {
    grid-template-columns: 36px minmax(0,1fr);
    gap: 14px;
    padding: 11px 16px;
  }

  .home-page .vw-mark {
    width: 36px;
  }

  .home-page .sfd-content h2 {
    font-size: 19px;
  }

  .home-page .sfd-content p:not(.overline) {
    font-size: 14px;
  }

  .home-page .availability {
    font-size: 12.5px;
    gap: 5px;
  }

  .home-page .auth-card {
    padding: 23px;
  }

  .home-page .auth-heading h1 {
    font-size: 35px;
  }

  .home-page .language-pills {
    padding-bottom: 22px;
  }

  .home-page .lang-pill {
    font-size: 13px;
    min-height: 32px;
    padding: 5px 8px;
    gap: 6px;
  }

  .home-page .lang-pill .flag {
    width: 16px;
    height: 12px;
  }

  .home-page .brand-title {
    font-size: 24px;
  }

  .home-page .brand-tagline {
    font-size: 10px;
    letter-spacing: 2px;
  }

  .home-page .header-locale {
    display: none;
  }

  .home-page .header-actions .btn {
    padding: 10px 16px;
  }
}

@media (max-width:800px) {
  .home-page .site-header {
    height: 80px;
  }

  .home-page .workspace {
    min-height: calc(100vh - 80px);
  }

  .home-page .brand-logo {
    width: 56px;
    height: 56px;
  }

  .home-page .header-inner {
    padding: 0 18px;
  }

  .home-page .brand {
    gap: 11px;
  }

  .home-page .brand-title {
    font-size: 21px;
  }

  .home-page .brand-tagline {
    font-size: 8.5px;
    letter-spacing: 1.6px;
    margin-top: 5px;
  }

  .home-page .header-actions .btn {
    min-height: 42px;
    padding: 9px 14px;
  }

  .home-page .layout {
    display: flex;
    flex-direction: column;
    gap: 25px;
    max-width: 690px;
    padding: 22px 18px 0;
  }

  .home-page .left-column,
  .home-page .right-column {
    width: 100%;
  }

  .home-page .sfd-banner {
    grid-template-columns: 34px minmax(0,1fr);
    padding: 11px 16px;
    gap: 13px;
    border-radius: 14px;
  }

  .home-page .vw-mark {
    width: 34px;
  }

  .home-page .sfd-content h2 {
    font-size: 18px;
  }

  .home-page .sfd-content p:not(.overline) {
    display: none;
  }

  .home-page .availability {
    font-size: 12.5px;
    margin-top: 2px;
  }

  .home-page .scene-tooltip {
    max-width: 220px;
    padding: 7px 10px;
  }

  .home-page .scene-tooltip strong {
    font-size: 13px;
  }

  .home-page .scene-tooltip span {
    font-size: 11px;
  }

  .home-page .auth-card {
    padding: 28px;
  }

  .home-page .language-pills {
    gap: 8px;
    justify-content: center;
  }

  .home-page .lang-pill {
    font-size: 14px;
    padding: 6px 10px;
  }

  .home-page .auth-heading h1 {
    font-size: 38px;
  }
}

@media (max-width:440px) {
  .home-page .header-inner {
    padding: 0 13px;
    gap: 9px;
  }

  .home-page .brand-logo {
    width: 46px;
    height: 46px;
  }

  .home-page .brand {
    gap: 8px;
  }

  .home-page .brand-title {
    font-size: 18px;
  }

  .home-page .brand-tagline {
    font-size: 7px;
    letter-spacing: 1px;
    max-width: 190px;
  }

  .home-page .header-actions .btn {
    min-height: 40px;
    font-size: 15px;
    padding: 8px 11px;
    border-radius: 9px;
  }

  .home-page .layout {
    padding: 16px 12px 0;
  }

  .home-page .sfd-banner {
    padding: 10px 14px;
    gap: 11px;
    grid-template-columns: 30px minmax(0,1fr);
  }

  .home-page .vw-mark {
    width: 30px;
  }

  .home-page .sfd-content h2 {
    font-size: 16px;
  }

  .home-page .sfd-content .overline {
    font-size: 10.5px;
    letter-spacing: 1.5px;
  }

  .home-page .availability {
    font-size: 12px;
    gap: 4px;
  }

  .home-page .availability .svg-icon {
    width: 13px;
    height: 13px;
  }

  .home-page .auth-card {
    padding: 24px 20px;
  }

  .home-page .scene-tooltip {
    display: none;
  }

  .home-page .language-pills {
    gap: 6px;
  }

  .home-page .lang-pill {
    font-size: 13px;
    padding: 5px 8px;
  }

  .home-page .auth-heading h1 {
    font-size: 34px;
  }

  .home-page dialog {
    padding: 26px 22px;
  }
}

/* The reCAPTCHA checkbox is a fixed 304 × 78 frame: shrink it where the card is narrower. */
@media (max-width:370px) {
  .home-page .sfd-content h2 {
    font-size: 15px;
  }

  .home-page .captcha-box {
    min-height: 70px;
  }

  .home-page .captcha-box .g-recaptcha {
    transform: scale(.9);
    transform-origin: 0 0;
  }
}

@media (prefers-reduced-motion:reduce) {
  .home-page *,
  .home-page *:before,
  .home-page *:after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
}
