:root {
  --navy-950: #091a32;
  --navy-900: #0d203b;
  --navy-800: #132846;
  --ink: #091a32;
  --warm-white: #f9f6f3;
  --gold: #e6ae21;
  --green: #658d48;
  --muted: #72747a;
  --border: #c8c3bf;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
}

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

html,
body {
  min-height: 100%;
}

html {
  background: var(--warm-white);
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--warm-white);
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow: hidden;
}

button,
input {
  font: inherit;
}

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

button {
  color: inherit;
}

::selection {
  color: #fff;
  background: var(--navy-800);
}

.login-page {
  display: grid;
  grid-template-columns: 58.5% 41.5%;
  width: 100%;
  min-height: 100vh;
  min-height: 100svh;
}

.brand-panel {
  --plant-x: 51.6%;
  --baseline-y: 80.24%;
  position: relative;
  min-width: 0;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  isolation: isolate;
  color: #fff;
  background:
    radial-gradient(ellipse at 53% 49%, rgba(24, 40, 64, 0.42) 0%, rgba(10, 24, 47, 0.08) 55%, transparent 77%),
    linear-gradient(151deg, #0e1d30 0%, #0a162c 52%, #131e34 100%);
}

.brand-wordmark {
  display: flex;
  align-items: stretch;
}

.brand-wordmark--hero {
  position: absolute;
  z-index: 5;
  top: 7.65%;
  left: 7.15%;
  height: 69px;
}

.brand-wordmark__rule {
  flex: 0 0 auto;
  width: 3px;
  margin-right: 28px;
  background: var(--gold);
}

.brand-wordmark__copy {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  white-space: nowrap;
}

.brand-wordmark__name,
.compact-brand__name {
  font-family: "Bodoni 72", Didot, "Times New Roman", serif;
  font-weight: 500;
}

.brand-wordmark__name {
  font-size: clamp(32px, 2.85vw, 46px);
  line-height: 0.95;
  letter-spacing: 0.36em;
}

.brand-wordmark__descriptor {
  margin-top: 8px;
  font-size: clamp(12px, 1.07vw, 17px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.68em;
}

.brand-scene {
  position: absolute;
  z-index: 1;
  inset: 0;
  display: block;
  pointer-events: none;
}

.globe-art {
  position: absolute;
  z-index: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  object-fit: fill;
  opacity: 1;
  transform-origin: 53.8% 68.3%;
  animation: none;
  mask-image: linear-gradient(to bottom, black 58%, transparent 84%);
}

@media (prefers-reduced-motion: reduce) {
  .globe-art { animation: none; transform: none; }
}

.ground-line {
  position: absolute;
  z-index: 2;
  top: var(--baseline-y);
  left: 0;
  width: 100%;
  height: 1.5px;
  transform: translateY(-50%);
  background: linear-gradient(
    90deg,
    transparent 6%,
    rgba(215, 165, 29, 0.96) 28%,
    rgba(215, 165, 29, 0.96) 70%,
    rgba(215, 165, 29, 0.08) 89%,
    transparent 96%
  );
}

.plant-stage {
  position: absolute;
  z-index: 4;
  top: 29.7%;
  bottom: calc(100% - var(--baseline-y));
  left: var(--plant-x);
  width: 0;
  pointer-events: none;
  user-select: none;
  filter: saturate(0.76);
}

.plant-stage .plant-svg {
  position: absolute;
  height: 114.285715%;
  width: auto;
  bottom: -7.971586%;
  left: 0;
  transform: translateX(-46.316759%);
  overflow: visible;
}

.plant-svg .draw-path {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.plant-svg .stem-path {
  stroke: #628a49;
  stroke-width: 19;
}

.plant-svg .petal-path {
  stroke: #f2b51d;
  stroke-width: 20;
}

.plant-svg .plant-anchor {
  fill: #f2b51d;
  stroke: #dca313;
  stroke-width: 3;
}

.plant-svg .flower-center {
  fill: #628a49;
  transform-box: fill-box;
  transform-origin: center;
}

.plant-svg:not(.is-ready) .draw-path,
.plant-svg:not(.is-ready) .flower-center {
  opacity: 0;
}

@media (prefers-reduced-motion: reduce) {
  .plant-svg .draw-path,
  .plant-svg .flower-center {
    opacity: 1 !important;
    stroke-dashoffset: 0 !important;
    transform: none !important;
  }
}

.group-companies {
  position: absolute;
  z-index: 5;
  right: 11.5%;
  bottom: 8.5%;
  left: 12.25%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  white-space: nowrap;
  font-size: clamp(11px, 0.98vw, 16px);
  font-weight: 500;
  letter-spacing: 0.27em;
}

.group-companies i {
  width: 5px;
  height: 5px;
  margin: 0 8px;
  border-radius: 50%;
  background: var(--gold);
}

.auth-panel {
  position: relative;
  min-width: 0;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  background:
    radial-gradient(circle at 90% 42%, rgba(255, 255, 255, 0.78), transparent 44%),
    var(--warm-white);
}

.language-select {
  position: absolute;
  z-index: 3;
  top: 5.15%;
  right: 8.55%;
  display: inline-flex;
  align-items: center;
  gap: 13px;
  min-width: 170px;
  height: 44px;
  padding: 0 14px 0 17px;
  border: 1px solid #cdc9c5;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.22);
  box-shadow: 0 1px 2px rgba(11, 26, 50, 0.04);
  cursor: pointer;
  font-size: 18px;
  font-weight: 600;
}

.language-select > svg:first-child {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
}

.language-select__chevron {
  width: 19px;
  height: 19px;
  margin-left: auto;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.auth-content {
  width: calc(100% - 136px);
  max-width: 528px;
  margin-top: 14.05vh;
  margin-left: 12.05%;
}

.compact-brand {
  display: flex;
  align-items: center;
  height: 82px;
}

.compact-brand__icon {
  position: relative;
  width: 43px;
  height: 82px;
  margin-right: 16px;
  overflow: hidden;
}

.compact-brand__icon img {
  position: absolute;
  top: -1px;
  left: 50%;
  width: 82px;
  height: auto;
  transform: translateX(-50%);
}

.compact-brand__copy {
  display: flex;
  flex-direction: column;
  padding-top: 1px;
  white-space: nowrap;
}

.compact-brand__name {
  font-size: clamp(25px, 2.03vw, 33px);
  line-height: 1;
  letter-spacing: 0.185em;
}

.compact-brand__descriptor {
  margin-top: 12px;
  font-size: clamp(10px, 0.82vw, 13px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.43em;
}

.auth-heading {
  margin-top: 50px;
}

.auth-heading h1 {
  max-width: 100%;
  margin: 0;
  font-size: clamp(48px, 3.37vw, 54px);
  font-weight: 750;
  line-height: 1;
  letter-spacing: -0.038em;
}

.auth-heading p {
  margin: 11px 0 0;
  color: #6f6e73;
  font-size: clamp(19px, 1.52vw, 24px);
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: -0.018em;
}

.sign-in-form {
  margin-top: 47px;
}

.field-group {
  display: flex;
  flex-direction: column;
}

.field-group--password {
  margin-top: 35px;
}

.field-group label {
  margin-bottom: 16px;
  font-size: 17px;
  font-weight: 750;
  line-height: 1;
  letter-spacing: 0.135em;
}

.field-group input {
  width: 100%;
  height: 61px;
  padding: 0 23px;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  outline: none;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.17);
  caret-color: var(--green);
  font-size: 22px;
  line-height: 1;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.field-group input::placeholder {
  color: #8a8b90;
  opacity: 1;
}

.field-group input:focus-visible {
  border-color: #536985;
  box-shadow: 0 0 0 3px rgba(19, 40, 70, 0.12);
}

.password-control {
  position: relative;
  display: block;
}

.password-control input {
  padding-right: 66px;
}

.password-toggle {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 13px;
  display: grid;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #777a81;
  cursor: pointer;
  place-items: center;
}

.password-toggle svg {
  width: 29px;
  height: 29px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.password-toggle:focus-visible,
.language-select:focus-visible,
.submit-button:focus-visible,
.forgot-link:focus-visible {
  outline: 3px solid rgba(101, 141, 72, 0.42);
  outline-offset: 3px;
}

.forgot-link {
  display: block;
  width: fit-content;
  margin: 27px 0 0 auto;
  color: var(--ink);
  font-size: 18px;
  font-weight: 500;
  line-height: 1.2;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.submit-button {
  width: 100%;
  height: 65px;
  margin-top: 48px;
  border: 0;
  border-radius: 10px;
  color: #fff;
  background: linear-gradient(100deg, #0c203c, #0a1b34);
  box-shadow: 0 2px 4px rgba(9, 26, 50, 0.15);
  cursor: pointer;
  font-size: 25px;
  font-weight: 700;
  transition: transform 140ms ease, background-color 140ms ease;
}

.submit-button:active {
  transform: scale(0.99);
}

.auth-footer {
  position: absolute;
  right: 7%;
  bottom: 5.75%;
  left: 12%;
  color: #6d6f74;
  text-align: center;
}

.security-note,
.copyright {
  margin: 0;
}

.security-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  font-size: 17px;
  line-height: 1.4;
}

.security-note svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
}

.security-note b {
  margin: 0 5px;
  font-weight: 700;
}

.copyright {
  margin-top: 18px;
  font-size: 16px;
  line-height: 1.4;
}


@media (hover: hover) and (pointer: fine) {
  .forgot-link:hover {
    color: #314665;
  }

  .language-select:hover {
    border-color: #aaa6a2;
  }

  .submit-button:hover {
    background: #102845;
  }
}

@media (max-width: 1100px) {
  .brand-wordmark__name {
    font-size: 34px;
  }

  .brand-wordmark__descriptor {
    font-size: 12px;
  }

  .group-companies {
    right: 4%;
    left: 7%;
    letter-spacing: 0.2em;
  }

  .auth-content {
    width: calc(100% - 76px);
    margin-left: 38px;
  }

  .language-select {
    right: 38px;
  }

  .auth-footer {
    right: 32px;
    left: 32px;
  }
}

@media (max-width: 900px) {
  body {
    overflow: auto;
  }

  .login-page {
    grid-template-columns: 1fr;
  }

  .brand-panel {
    min-height: 620px;
  }

  .auth-panel {
    min-height: 820px;
  }

  .brand-wordmark--hero {
    top: 54px;
  }

  .brand-scene {
    top: 0;
    right: auto;
    bottom: auto;
    left: 50%;
    width: 936px;
    height: 997px;
    transform: translateX(-50%) scale(0.62);
    transform-origin: 50% 0;
  }

  .group-companies {
    bottom: 54px;
    font-size: 12px;
  }

  .auth-content {
    width: calc(100% - 80px);
    max-width: 570px;
    margin: 130px auto 0;
  }

  .language-select {
    top: 38px;
    right: 40px;
  }

  .auth-footer {
    bottom: 42px;
  }
}

@media (max-width: 560px) {
  .brand-panel {
    min-height: 620px;
  }

  .brand-wordmark--hero {
    top: 38px;
    left: 28px;
    height: 54px;
  }

  .brand-wordmark__rule {
    width: 2px;
    margin-right: 18px;
  }

  .brand-wordmark__name {
    font-size: 25px;
  }

  .brand-wordmark__descriptor {
    margin-top: 11px;
    font-size: 9px;
  }

  .group-companies {
    right: 20px;
    bottom: 34px;
    left: 20px;
    overflow: hidden;
    font-size: 9px;
    letter-spacing: 0.13em;
  }

  .group-companies i {
    width: 3px;
    height: 3px;
    margin: 0 4px;
  }

  .auth-panel {
    min-height: 800px;
  }

  .language-select {
    top: 28px;
    right: 24px;
    min-width: 145px;
    height: 42px;
    font-size: 16px;
  }

  .auth-content {
    width: calc(100% - 48px);
    margin-top: 105px;
  }

  .compact-brand__name {
    font-size: 24px;
  }

  .compact-brand__descriptor {
    font-size: 9px;
  }

  .auth-heading {
    margin-top: 36px;
  }

  .auth-heading h1 {
    font-size: 45px;
  }

  .auth-heading p {
    font-size: 18px;
  }

  .sign-in-form {
    margin-top: 38px;
  }

  .field-group label {
    font-size: 14px;
  }

  .field-group input {
    height: 58px;
    font-size: 18px;
  }

  .submit-button {
    margin-top: 38px;
  }

  .auth-footer {
    right: 22px;
    bottom: 30px;
    left: 22px;
  }

  .security-note {
    font-size: 14px;
  }

  .copyright {
    font-size: 13px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .submit-button {
    transition: background-color 140ms ease;
  }
}
