:root {
  --geo-brand: #0e4f45;
  --geo-brand-dark: #0a3a33;
  --geo-brand-soft: #11645a;
  --geo-yellow: #ffd02f;
  --geo-cream: #f5f4ef;
  --geo-paper: #fbfaf6;
  --geo-ink: #17211f;
  --geo-muted: #66706c;
  --geo-line: #dedbd0;
  --geo-danger: #a62929;
  --geo-danger-bg: #fff1ef;
  --geo-radius: 28px;
}

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

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

body {
  font-family: 'Be Vietnam Pro', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  color: var(--geo-ink);
  background: var(--geo-cream);
  -webkit-font-smoothing: antialiased;
}

button,
input {
  font: inherit;
}

.geo-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 28px;
  background:
    radial-gradient(circle at 12% 8%, rgba(255, 208, 47, 0.18), transparent 30%),
    radial-gradient(circle at 88% 92%, rgba(14, 79, 69, 0.14), transparent 34%),
    var(--geo-cream);
}

.geo-shell {
  width: min(1120px, 100%);
  min-height: 660px;
  display: grid;
  grid-template-columns: 1.06fr 0.94fr;
  overflow: hidden;
  border-radius: var(--geo-radius);
  background: var(--geo-paper);
  box-shadow:
    0 40px 100px rgba(14, 45, 40, 0.2),
    0 2px 0 rgba(255, 255, 255, 0.7) inset;
}

/* ------------------------------------------------------------------ */
/* Brand panel                                                         */
/* ------------------------------------------------------------------ */
.geo-brand {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 44px;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 88% 12%, rgba(255, 208, 47, 0.2), transparent 30%),
    linear-gradient(145deg, #0b3b34 0%, #0e4f45 52%, #11645a 100%);
}

.geo-radar {
  position: absolute;
  width: 620px;
  height: 620px;
  right: -230px;
  bottom: -260px;
  border-radius: 50%;
  pointer-events: none;
  background:
    repeating-radial-gradient(circle, rgba(255, 255, 255, 0.11) 0 1px, transparent 1px 62px),
    radial-gradient(circle at 82% 18%, rgba(255, 208, 47, 0.14), transparent 38%);
  opacity: 0.9;
}

.geo-radar::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: radial-gradient(circle, transparent 0 58%, rgba(255, 255, 255, 0.08) 58.4% 58.9%, transparent 59.2%);
}

.geo-brand-top,
.geo-brand-copy,
.geo-brand-foot {
  position: relative;
  z-index: 1;
}

.geo-brand-top {
  display: flex;
  align-items: center;
  gap: 13px;
}

.geo-mark {
  display: inline-flex;
  width: 50px;
  height: 50px;
  flex: 0 0 auto;
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.18));
}

.geo-mark svg {
  width: 100%;
  height: 100%;
  display: block;
}

.geo-brand-name {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.geo-brand-name strong {
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.geo-brand-name small {
  margin-top: 4px;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: rgba(255, 255, 255, 0.55);
}

.geo-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--geo-yellow);
}

.geo-eyebrow::before {
  content: '';
  width: 22px;
  height: 1px;
  background: currentColor;
  opacity: 0.8;
}

.geo-eyebrow-dark {
  color: var(--geo-brand);
}

.geo-brand-copy {
  max-width: 430px;
  padding: 34px 0;
}

.geo-brand-copy h1 {
  margin: 16px 0 16px;
  font-size: clamp(32px, 3.4vw, 46px);
  line-height: 1.06;
  letter-spacing: -0.04em;
  font-weight: 700;
}

.geo-brand-copy p {
  margin: 0;
  max-width: 390px;
  font-size: 14px;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.68);
}

.geo-points {
  list-style: none;
  margin: 34px 0 0;
  padding: 0;
  display: grid;
  gap: 13px;
}

.geo-points li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12.5px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.82);
}

.geo-points span {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
  border-radius: 9px;
  border: 1px solid rgba(255, 208, 47, 0.35);
  background: rgba(255, 208, 47, 0.1);
  color: var(--geo-yellow);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.geo-brand-foot {
  font-size: 10px;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.42);
}

/* ------------------------------------------------------------------ */
/* Form panel                                                          */
/* ------------------------------------------------------------------ */
.geo-form-panel {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 54px 62px;
  background:
    radial-gradient(circle at 100% 0%, rgba(255, 208, 47, 0.1), transparent 28%),
    var(--geo-paper);
}

.geo-form-wrap {
  width: 100%;
  max-width: 376px;
}

.geo-mobile-brand {
  display: none;
  align-items: center;
  gap: 10px;
  margin-bottom: 28px;
}

.geo-mark-sm {
  width: 38px;
  height: 38px;
}

.geo-mobile-brand span:last-child {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.geo-mobile-brand strong {
  font-size: 15px;
  font-weight: 800;
  color: var(--geo-ink);
}

.geo-mobile-brand small {
  margin-top: 3px;
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--geo-muted);
}

.geo-form-head h2 {
  margin: 13px 0 8px;
  font-size: 30px;
  line-height: 1.12;
  letter-spacing: -0.035em;
  font-weight: 700;
}

.geo-form-head p {
  margin: 0;
  font-size: 13px;
  line-height: 1.6;
  color: var(--geo-muted);
}

.geo-alert {
  margin-top: 22px;
  padding: 12px 14px;
  border: 1px solid #f0c9c3;
  border-radius: 12px;
  background: var(--geo-danger-bg);
  color: var(--geo-danger);
  font-size: 12.5px;
  line-height: 1.55;
}

.geo-alert-success {
  border-color: #bfe3d2;
  background: #edf9f2;
  color: #1d6b4c;
}

.geo-alert-warning {
  border-color: #f0dfab;
  background: #fff9e8;
  color: #75601a;
}

.geo-form {
  margin-top: 26px;
  display: grid;
  gap: 18px;
}

.geo-field {
  display: grid;
  gap: 8px;
}

.geo-field label,
.geo-label-row label {
  font-size: 12px;
  font-weight: 600;
  color: var(--geo-ink);
}

.geo-label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.geo-link {
  color: var(--geo-brand);
  font-size: 11.5px;
  font-weight: 600;
  text-decoration: none;
}

.geo-link:hover {
  text-decoration: underline;
}

.geo-field input[type='text'],
.geo-field input[type='password'],
.geo-password input {
  width: 100%;
  height: 52px;
  padding: 0 15px;
  border: 1px solid var(--geo-line);
  border-radius: 13px;
  background: #fff;
  color: var(--geo-ink);
  font-size: 13.5px;
  outline: none;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.geo-field input::placeholder,
.geo-password input::placeholder {
  color: #a4aaa6;
}

.geo-field input:hover,
.geo-password input:hover {
  border-color: #c6c2b5;
}

.geo-field input:focus,
.geo-password input:focus {
  border-color: var(--geo-brand);
  box-shadow: 0 0 0 4px rgba(14, 79, 69, 0.1);
  background: #fff;
}

.geo-field input[aria-invalid='true'],
.geo-password input[aria-invalid='true'] {
  border-color: #d98a80;
  background: #fffafa;
}

.geo-password {
  position: relative;
}

.geo-password input {
  padding-right: 50px;
}

.geo-pw-toggle {
  position: absolute;
  top: 50%;
  right: 8px;
  transform: translateY(-50%);
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #8c938f;
  cursor: pointer;
}

.geo-pw-toggle:hover {
  background: #f1efe7;
  color: var(--geo-brand);
}

.geo-pw-toggle svg {
  width: 18px;
  height: 18px;
}

.geo-pw-toggle.is-visible {
  color: var(--geo-brand);
  background: #eef4f1;
}

.geo-field-error {
  margin-top: 2px;
  font-size: 11.5px;
  line-height: 1.55;
  color: var(--geo-danger);
}

.geo-remember {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  width: fit-content;
  font-size: 12px;
  color: var(--geo-muted);
  cursor: pointer;
  user-select: none;
}

.geo-remember input {
  width: 16px;
  height: 16px;
  accent-color: var(--geo-brand);
  cursor: pointer;
}

.geo-submit {
  width: 100%;
  height: 52px;
  margin-top: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 0;
  border-radius: 13px;
  background: var(--geo-brand);
  color: #fff;
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.01em;
  cursor: pointer;
  box-shadow: 0 14px 28px rgba(14, 79, 69, 0.2);
  transition: background 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.geo-submit svg {
  width: 18px;
  height: 18px;
  color: var(--geo-yellow);
  transition: transform 0.18s ease;
}

.geo-submit:hover {
  background: var(--geo-brand-dark);
  transform: translateY(-1px);
  box-shadow: 0 18px 34px rgba(14, 79, 69, 0.26);
}

.geo-submit:hover svg {
  transform: translateX(2px);
}

.geo-submit:active {
  transform: translateY(0);
}

.geo-submit:disabled {
  cursor: wait;
  opacity: 0.72;
  transform: none;
}

.geo-submit:focus-visible {
  outline: 3px solid rgba(255, 208, 47, 0.65);
  outline-offset: 2px;
}

.geo-secure {
  margin-top: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  font-size: 10.5px;
  color: #8a918d;
}

.geo-secure svg {
  width: 14px;
  height: 14px;
}

/* Autofill should not turn fields yellow. */
.geo-field input:-webkit-autofill,
.geo-password input:-webkit-autofill {
  -webkit-text-fill-color: var(--geo-ink);
  -webkit-box-shadow: 0 0 0 1000px #fff inset;
  transition: background-color 9999s ease-out;
}

/* ------------------------------------------------------------------ */
/* Responsive                                                          */
/* ------------------------------------------------------------------ */
@media (max-width: 920px) {
  .geo-page {
    padding: 16px;
  }

  .geo-shell {
    grid-template-columns: 1fr;
    min-height: 0;
    max-width: 560px;
  }

  .geo-brand {
    display: none;
  }

  .geo-form-panel {
    padding: 38px 34px 40px;
  }

  .geo-mobile-brand {
    display: flex;
  }

  .geo-form-head h2 {
    font-size: 27px;
  }
}

@media (max-width: 520px) {
  .geo-page {
    padding: 0;
    background: var(--geo-paper);
  }

  .geo-shell {
    width: 100%;
    min-height: 100vh;
    border-radius: 0;
    box-shadow: none;
  }

  .geo-brand {
    padding: 20px 22px;
    border-radius: 0;
  }

  .geo-form-panel {
    padding: 30px 22px 38px;
    align-items: flex-start;
  }

  .geo-form-wrap {
    max-width: none;
  }

  .geo-form-head h2 {
    font-size: 25px;
  }

  .geo-form-head p {
    font-size: 12.5px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}
