* {
  box-sizing: border-box;
}

:root {
  color-scheme: dark;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  background: #03090d;
  color: #eefbff;
}

html,
body {
  margin: 0;
  min-height: 100%;
  background: #03090d;
}

body {
  min-height: 100vh;
  min-height: 100svh;
  overflow-x: hidden;
}

button,
input { font: inherit; }
button { -webkit-tap-highlight-color: transparent; }

.product-entry-shell {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: clamp(34px, 5vw, 76px);
  overflow: hidden;
  isolation: isolate;
  background: #03090d;
}

.product-entry-frame {
  position: relative;
  z-index: 2;
  width: min(1080px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(340px, 420px);
  align-items: center;
  gap: clamp(54px, 8vw, 112px);
}

.product-entry-ambient {
  position: absolute;
  z-index: 0;
  width: min(42vw, 520px);
  aspect-ratio: 1;
  border-radius: 50%;
  filter: blur(110px);
  pointer-events: none;
}

.product-entry-ambient-one { top: 12%; left: -12%; background: #0b3d4b; opacity: 0.13; }
.product-entry-ambient-two { right: -18%; bottom: 4%; background: #183038; opacity: 0.1; }

.product-identity {
  min-width: 0;
  padding-left: clamp(20px, 3vw, 34px);
  border-left: 1px solid rgba(101, 220, 247, 0.28);
}

.product-system-kicker {
  display: block;
  color: #69dff6;
  font-size: clamp(0.62rem, 0.9vw, 0.74rem);
  font-weight: 850;
  letter-spacing: 0.2em;
  line-height: 1.5;
}

.product-identity h1 {
  margin: 14px 0 0;
  color: #f4fcff;
  font-size: clamp(3.2rem, 6vw, 4.8rem);
  font-weight: 720;
  letter-spacing: -0.055em;
  line-height: 0.98;
}

.product-edition {
  width: fit-content;
  margin: 14px 0 0;
  color: #b9d8e2;
  font-size: clamp(1rem, 1.6vw, 1.22rem);
  font-weight: 650;
  letter-spacing: 0.06em;
}

.product-identity-rule {
  width: min(220px, 52%);
  height: 1px;
  margin: 28px 0 18px;
  background: rgba(119, 205, 226, 0.24);
}

.product-identity-support {
  max-width: 330px;
  margin: 0;
  color: #6f929e;
  font-size: 0.88rem;
  line-height: 1.65;
}

.product-login-panel {
  width: 100%;
  padding: clamp(26px, 4vw, 36px);
  border: 1px solid rgba(95, 176, 197, 0.3);
  border-radius: 16px;
  background: #071116;
  box-shadow: 0 28px 72px rgba(0, 0, 0, 0.42), 0 0 0 1px rgba(3, 8, 11, 0.8) inset;
}

.product-access-state {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #79dff3;
  font-size: 0.62rem;
  letter-spacing: 0.16em;
}

.product-access-state > span {
  width: 7px;
  height: 7px;
  border: 1px solid #67dff7;
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(103, 223, 247, 0.28);
}

.product-login-heading { margin-top: 20px; }
.product-login-heading h2 {
  margin: 0;
  color: #f4fcff;
  font-size: clamp(1.72rem, 3vw, 2.08rem);
  font-weight: 700;
  letter-spacing: -0.03em;
}
.product-login-heading p { margin: 7px 0 0; color: #7899a5; font-size: 0.86rem; line-height: 1.55; }

.product-login-form { display: grid; gap: 16px; margin-top: 26px; }
.product-field { display: grid; gap: 7px; }
.product-field label {
  color: #8aaab5;
  font-size: 0.67rem;
  font-weight: 760;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.product-field input {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  border: 1px solid rgba(87, 151, 169, 0.42);
  border-radius: 9px;
  outline: none;
  background: #030b0f;
  color: #eefbff;
  caret-color: #70e4f8;
  transition: border-color 140ms ease, box-shadow 140ms ease, background-color 140ms ease;
}
.product-field input:hover { border-color: rgba(103, 195, 218, 0.58); }
.product-field input:focus-visible { border-color: #6adff6; box-shadow: 0 0 0 3px rgba(106, 223, 246, 0.1); background: #051016; }
.product-field input[aria-invalid="true"] { border-color: #d9828d; box-shadow: 0 0 0 3px rgba(217, 130, 141, 0.08); }
.product-field input:-webkit-autofill,
.product-field input:-webkit-autofill:hover,
.product-field input:-webkit-autofill:focus {
  -webkit-text-fill-color: #eefbff;
  box-shadow: 0 0 0 1000px #030b0f inset;
  transition: background-color 9999s ease-in-out 0s;
}

.product-enter-button {
  min-height: 52px;
  margin-top: 2px;
  border: 1px solid #64dff5;
  border-radius: 9px;
  background: #0b3440;
  color: #f4fdff;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.15em;
  cursor: pointer;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22);
  transition: border-color 140ms ease, background-color 140ms ease, transform 140ms ease;
}
.product-enter-button:hover:not(:disabled) { border-color: #a2effc; background: #0d3b48; }
.product-enter-button:focus-visible { outline: 3px solid rgba(105, 226, 248, 0.24); outline-offset: 3px; }
.product-enter-button:active:not(:disabled) { transform: translateY(1px); }
.product-enter-button:disabled { cursor: progress; opacity: 0.68; }

.save-user-control {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-self: start;
  gap: 9px;
  min-height: 32px;
  color: #7898a3;
  font-size: 0.7rem;
  cursor: pointer;
  user-select: none;
}
.save-user-control > input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.save-user-box { position: relative; width: 16px; height: 16px; border: 1px solid rgba(101, 205, 229, 0.48); border-radius: 4px; background: #040d11; }
.save-user-control > input:focus-visible + .save-user-box { outline: 3px solid rgba(105, 226, 248, 0.22); outline-offset: 3px; }
.save-user-control > input:checked + .save-user-box::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 3px;
  width: 6px;
  height: 3px;
  border-left: 2px solid #72e7f9;
  border-bottom: 2px solid #72e7f9;
  transform: rotate(-45deg);
}

.product-login-status {
  min-height: 36px;
  margin: 13px 0 -4px;
  padding-top: 10px;
  border-top: 1px solid rgba(93, 144, 158, 0.16);
  color: #6e8d98;
  font-size: 0.7rem;
  line-height: 1.45;
}
.product-login-status[data-state="working"] { color: #76dcef; }
.product-login-status[data-state="success"] { color: #72ddb1; }
.product-login-status[data-state="error"] { color: #e9a0a9; }

.product-entry-footer {
  position: absolute;
  z-index: 2;
  left: clamp(24px, 5vw, 76px);
  right: clamp(24px, 5vw, 76px);
  bottom: clamp(20px, 3vw, 32px);
  display: flex;
  justify-content: space-between;
  gap: 24px;
  color: #3e606b;
  font-size: 0.54rem;
  font-weight: 850;
  letter-spacing: 0.16em;
}

@media (max-width: 860px) {
  .product-entry-shell { align-items: flex-start; padding: 58px clamp(20px, 6vw, 48px) 76px; }
  .product-entry-frame { grid-template-columns: 1fr; gap: 38px; max-width: 520px; }
  .product-identity { padding-left: 22px; }
  .product-identity h1 { font-size: clamp(3rem, 12vw, 4.2rem); }
  .product-identity-rule { margin-top: 22px; }
  .product-entry-footer { display: none; }
}

@media (max-width: 520px) {
  .product-entry-shell { padding: 34px 14px 36px; }
  .product-entry-frame { gap: 28px; }
  .product-identity { padding: 4px 10px 0 18px; }
  .product-system-kicker { font-size: 0.58rem; letter-spacing: 0.16em; }
  .product-identity h1 { margin-top: 10px; font-size: clamp(2.8rem, 16vw, 3.5rem); }
  .product-edition { margin-top: 10px; font-size: 0.96rem; }
  .product-identity-rule { width: 120px; margin: 19px 0 13px; }
  .product-identity-support { font-size: 0.78rem; }
  .product-login-panel { padding: 24px 20px 22px; border-radius: 14px; }
  .product-login-heading { margin-top: 17px; }
  .product-login-form { margin-top: 22px; }
  .product-field input, .product-enter-button { min-height: 52px; }
}

@media (max-height: 720px) and (min-width: 861px) {
  .product-entry-shell { padding-top: 28px; padding-bottom: 48px; }
  .product-entry-frame { gap: 56px; }
  .product-login-panel { padding-top: 24px; padding-bottom: 22px; }
  .product-login-form { margin-top: 20px; gap: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  .product-field input, .product-enter-button { transition: none; }
}
