:root {
  color-scheme: light;
  font-family:
    "Aptos",
    "Segoe UI",
    -apple-system,
    BlinkMacSystemFont,
    sans-serif;
  color: #103c38;
  background: #f0e4d8;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  font-size: 16px;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
button {
  font: inherit;
}
button,
a {
  touch-action: manipulation;
}
a {
  color: inherit;
  text-underline-offset: 4px;
}
a:hover {
  color: #154a45;
}
:focus-visible {
  outline: 3px solid #0d5e58;
  outline-offset: 5px;
}
[hidden] {
  display: none !important;
}
.page {
  width: min(1320px, 100%);
  height: 100svh;
  height: 100dvh;
  margin: auto;
  padding: clamp(16px, 3dvh, 32px) 40px clamp(16px, 2.4dvh, 24px);
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  gap: clamp(14px, 2.4dvh, 26px);
}
.page-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  width: 188px;
  height: auto;
}
.network-dot {
  height: 7px;
  width: 7px;
  border-radius: 50%;
  background: #697d6c;
  box-shadow: 0 0 0 4px #e6ebe6;
}
.login-shell {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid #e1e5df;
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 16px 64px -28px #253e2b24;
  min-height: 0;
  width: 100%;
  max-height: 820px;
  align-self: center;
  height: 100%;
}
.login-panel {
  display: flex;
  flex-direction: column;
  min-height: 0;
  padding: clamp(20px, 3.8dvh, 38px) 56px clamp(20px, 3.4dvh, 34px);
  overflow-y: auto;
  scrollbar-width: thin;
}
.login-panel > * {
  flex-shrink: 0;
}
.product-label {
  display: flex;
  align-items: center;
  gap: 11px;
  font-weight: 650;
  letter-spacing: -0.2px;
}
.product-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: #edf2de;
  color: #0d5e58;
  border-radius: 10px;
}
.product-mark svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
}
.login-content {
  margin: auto 0;
  padding: clamp(16px, 2.8dvh, 28px) 0;
}
.transition-content h1 {
  font-size: clamp(30px, 3vw, 40px);
}
.transition-orb {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  margin-bottom: 26px;
  border-radius: 20px;
  background: #edf2de;
  color: #0d5e58;
}
.transition-orb svg {
  width: 48px;
  height: 48px;
  fill: none;
  stroke: currentColor;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-dasharray: 72 42;
  animation: transition-spin 1s linear infinite;
}
.transition-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  margin-top: 20px;
}
.transition-return {
  line-height: 1.5;
  font-weight: 600;
}
@keyframes transition-spin {
  to {
    transform: rotate(360deg);
  }
}
.eyebrow {
  margin: 0 0 17px;
  font-size: 13px;
  line-height: 1.5;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #0d5e58;
}
h1 {
  margin: 0;
  font-size: clamp(32px, 3.2vw, 43px);
  line-height: 1.16;
  letter-spacing: -1.6px;
  font-weight: 700;
}
.intro {
  margin: 21px 0 34px;
  line-height: 1.7;
  color: #636e68;
  font-size: 17px;
}
.account-help {
  margin: 0 0 13px;
  line-height: 1.5;
  font-size: 16px;
}
.sign-in-button {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 13px;
  min-height: 58px;
  border: 1px solid #0d5e58;
  border-radius: 9px;
  padding: 16px 19px;
  background: #0d5e58;
  color: #ffffff;
  font-weight: 650;
  font-size: 17px;
  cursor: pointer;
  transition:
    background 0.15s,
    box-shadow 0.15s;
  box-shadow: 0 5px 16px -6px #0d5e5875;
}
.sign-in-button:hover:enabled {
  background: #154a45;
  box-shadow: 0 6px 20px -6px #0d5e5895;
}
.sign-in-button:disabled {
  cursor: wait;
  background: #c4d2b5;
  border-color: #a7bea5;
  color: #103c38;
  box-shadow: none;
}
.microsoft-icon {
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  padding: 3px;
  background: #fff;
  border-radius: 3px;
}
.button-arrow {
  width: 23px;
  height: 23px;
  margin-left: auto;
  stroke: currentColor;
  stroke-width: 1.7;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.access-note {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin: 17px 0 0;
  color: #69716c;
  font-size: 15px;
  line-height: 1.55;
}
.access-note svg {
  width: 18px;
  height: 18px;
  min-width: 18px;
  margin-top: 2px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
}
.status {
  border-left: 3px solid #0d5e58;
  background: #fff6ea;
  padding: 12px 14px;
  color: #614c30;
  margin: 17px 0 0;
  line-height: 1.55;
  font-size: 16px;
}
.status.error {
  background: #fff0ed;
  border-color: #bc4c30;
  color: #7f3321;
}
.retry-button {
  padding: 10px 0;
  border: none;
  background: none;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 4px;
  font-weight: 600;
  color: #0d5e58;
}
.switch-account {
  display: inline-block;
  margin: 16px 0 0;
  font-size: 15px;
}
.help {
  border-top: 1px solid #e8ebe5;
  padding-top: 23px;
  font-size: 15px;
  line-height: 1.6;
}
.help p {
  margin: 0 0 5px;
  color: #69716c;
}
.help a {
  font-weight: 600;
  text-decoration: none;
}
.help a:hover {
  text-decoration: underline;
}
.help a span {
  margin-left: 7px;
  color: #0d5e58;
}
.no-script {
  color: #7f3321;
  line-height: 1.6;
}
.brand-panel {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 0;
  padding: clamp(24px, 4.7dvh, 47px) 50px clamp(20px, 3.4dvh, 34px);
  background:
    radial-gradient(ellipse at 95% 12%, #66898065, transparent 64%), #103c38;
  color: #fff;
}
.brand-top {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-bottom: clamp(20px, 4dvh, 40px);
}
.brand-kicker {
  font-size: 14px;
  letter-spacing: 2.1px;
  text-transform: uppercase;
  font-weight: 650;
  white-space: nowrap;
  color: #e4e9e3;
}
.brand-line {
  height: 1px;
  background: #ffffff26;
  width: 100%;
}
h2 {
  margin: 0;
  font-size: clamp(40px, 6.6dvh, 66px);
  font-weight: 650;
  line-height: 1.09;
  letter-spacing: -2.5px;
}
h2 span {
  color: #d8dfb5;
}
.brand-intro {
  color: #d2d9d1;
  margin: clamp(14px, 2.2dvh, 22px) 0 clamp(16px, 3.2dvh, 32px);
  line-height: 1.7;
  font-size: 18px;
}
.insight-visual {
  border: 1px solid #ffffff22;
  background: linear-gradient(120deg, #ffffff09, #ffffff02);
  border-radius: 13px;
  padding: 19px 21px 17px;
  margin-bottom: clamp(16px, 3.5dvh, 35px);
}
.visual-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #dde3d9;
  font-size: 14px;
  gap: 12px;
}
.visual-dots {
  display: flex;
  gap: 5px;
}
.visual-dots i {
  background: #ffffff30;
  border-radius: 50%;
  height: 4px;
  width: 4px;
}
.perspective-chart {
  width: 100%;
  height: clamp(72px, 14.5dvh, 145px);
  display: block;
  margin: 16px 0 5px;
}
.visual-legend {
  display: flex;
  align-items: center;
  gap: 23px;
  color: #c8d1c5;
  font-size: 14px;
}
.visual-legend span {
  display: flex;
  align-items: center;
  gap: 7px;
}
.visual-legend i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #0d5e58;
}
.brand-bottom {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: auto;
}
.brand-cross {
  font-size: 40px;
  font-weight: 250;
  line-height: 1;
  color: #d8dfb5;
}
.brand-bottom p {
  margin: 0;
  color: #bdc7ba;
  font-size: 15px;
  line-height: 1.7;
}
.brand-bottom strong {
  color: #e7ece4;
  font-weight: 500;
}
.page-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: #667068;
  font-size: 14px;
  line-height: 1.5;
}
.skip-link {
  position: absolute;
  top: -100px;
  left: 24px;
  background: white;
  padding: 12px;
  z-index: 3;
}
.skip-link:focus {
  top: 12px;
}
@media (max-width: 1100px) {
  .login-panel {
    padding-left: 35px;
    padding-right: 35px;
  }
  .brand-panel {
    padding-left: 35px;
    padding-right: 35px;
  }
}
@media (max-width: 800px) {
  .page {
    padding: 22px 24px;
    max-width: 600px;
  }
  .logo {
    width: 150px;
  }
  .login-shell {
    grid-template-columns: 1fr;
  }
  .login-panel {
    padding: clamp(20px, 3dvh, 30px) 32px;
  }
  .login-content {
    padding: clamp(16px, 3dvh, 32px) 0;
  }
  h1 {
    font-size: 36px;
  }
  .brand-panel {
    display: none;
  }
  .intro {
    margin-bottom: 29px;
    font-size: 16px;
  }
  .page-footer {
    font-size: 13px;
  }
}
@media (max-width: 400px) {
  .page {
    padding: 17px 16px;
  }
  .login-panel {
    padding: clamp(16px, 2.7dvh, 27px) 23px;
  }
  .logo {
    width: 136px;
  }
  h1 {
    font-size: 32px;
    letter-spacing: -1px;
  }
  .sign-in-button {
    font-size: 16px;
    padding-left: 15px;
    padding-right: 15px;
  }
}
@media (max-height: 740px) {
  .page {
    padding-top: 16px;
    padding-bottom: 16px;
    gap: 14px;
  }
  .logo {
    width: 136px;
  }
  .login-panel,
  .brand-panel {
    padding-top: 20px;
    padding-bottom: 20px;
  }
  .login-content {
    padding: 16px 0;
  }
  .eyebrow {
    margin-bottom: 10px;
  }
  h1 {
    font-size: 32px;
  }
  .intro {
    margin: 14px 0 20px;
    font-size: 16px;
    line-height: 1.55;
  }
  .access-note {
    margin-top: 12px;
  }
  .help {
    padding-top: 16px;
  }
  .brand-top {
    margin-bottom: 20px;
  }
  .brand-intro {
    margin-bottom: 18px;
    font-size: 16px;
    line-height: 1.55;
  }
  .perspective-chart {
    height: 72px;
  }
}
@media (max-height: 620px) {
  .eyebrow,
  .insight-visual {
    display: none;
  }
  .login-content {
    padding: 12px 0;
  }
  .login-content:has(.status:not([hidden])) .intro {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
  }
  .transition-orb svg {
    animation: none;
  }
}

/* Dé Gym stacked logo keeps its original proportions. */
.logo { width: 142px; max-height: 82px; object-fit: contain; object-position: left center; }
@media (max-height:740px) { .logo { max-height: 64px; width: 112px; } }
