:root {
  --green-950: #102f29;
  --green-800: #174a3d;
  --green-600: #3c7965;
  --sage: #91a99f;
  --cream: #f7f2e7;
  --gold: #c9a33d;
  --ink: #25312d;
  --muted: #66736e;
  --line: #d8e1dd;
  --white: #ffffff;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background: #eef2ef;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
button, input { font: inherit; }

.page-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(390px, .88fr);
}

.brand-panel {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 100vh;
  padding: clamp(34px, 5vw, 76px);
  color: var(--white);
  background:
    radial-gradient(circle at 82% 20%, rgba(201, 163, 61, .22), transparent 24%),
    linear-gradient(145deg, var(--green-950), var(--green-800));
}
.brand-panel::after {
  content: "";
  position: absolute;
  right: -16vw;
  bottom: -22vw;
  width: 54vw;
  height: 54vw;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 50%;
  box-shadow: 0 0 0 7vw rgba(255,255,255,.025), 0 0 0 14vw rgba(255,255,255,.02);
}
.brand-lockup, .statement, .feature-row { position: relative; z-index: 1; }
.brand-lockup { display: flex; align-items: center; gap: 18px; }
.brand-lockup img { width: 76px; height: 76px; object-fit: contain; filter: drop-shadow(0 8px 14px rgba(0,0,0,.18)); }
.eyebrow { margin: 0 0 7px; color: #d9e5df; font-size: 12px; font-weight: 750; letter-spacing: .14em; text-transform: uppercase; }
.brand-lockup h1 { max-width: 540px; margin: 0; font-family: Georgia, serif; font-size: clamp(24px, 3vw, 42px); font-weight: 500; line-height: 1.05; }
.statement { max-width: 650px; padding: 80px 0; }
.kicker { margin: 0 0 20px; color: #e2c469; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; }
.statement h2 { margin: 0 0 22px; font-family: Georgia, serif; font-size: clamp(42px, 6vw, 76px); font-weight: 500; line-height: .98; letter-spacing: -.035em; }
.statement > p:last-child { max-width: 570px; margin: 0; color: #d6e3de; font-size: 18px; line-height: 1.65; }
.feature-row { display: flex; flex-wrap: wrap; gap: 10px; }
.feature-row span { padding: 9px 13px; border: 1px solid rgba(255,255,255,.18); border-radius: 999px; background: rgba(255,255,255,.06); color: #e4ece9; font-size: 13px; }

.login-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(38px, 7vw, 105px);
  background: var(--cream);
}
.status-badge { align-self: flex-start; display: flex; align-items: center; gap: 9px; margin-bottom: 30px; padding: 8px 12px; border: 1px solid #cbd9d3; border-radius: 999px; color: var(--green-800); background: rgba(255,255,255,.58); font-size: 12px; font-weight: 750; text-transform: uppercase; letter-spacing: .08em; }
.status-badge span { width: 8px; height: 8px; border-radius: 50%; background: #45a675; box-shadow: 0 0 0 4px rgba(69,166,117,.13); }
.login-panel h2 { margin: 0 0 12px; color: var(--green-950); font-family: Georgia, serif; font-size: clamp(38px, 5vw, 60px); font-weight: 500; letter-spacing: -.03em; }
.intro { max-width: 510px; margin: 0 0 36px; color: var(--muted); font-size: 16px; line-height: 1.6; }
form { max-width: 520px; }
label { display: block; margin-bottom: 9px; color: var(--green-950); font-size: 14px; font-weight: 750; }
.mobile-field { display: flex; align-items: center; overflow: hidden; border: 1px solid #bdcbc5; border-radius: 12px; background: var(--white); box-shadow: 0 10px 28px rgba(16,47,41,.06); }
.mobile-field:focus-within { border-color: var(--green-600); box-shadow: 0 0 0 4px rgba(60,121,101,.12); }
.mobile-field span { padding: 17px 16px; border-right: 1px solid var(--line); color: var(--green-800); font-weight: 750; }
.mobile-field input { width: 100%; min-width: 0; padding: 17px; border: 0; outline: 0; color: var(--ink); background: transparent; }
.mobile-field input::placeholder { color: #99a39f; }
.field-help { margin: 9px 0 21px; color: var(--muted); font-size: 12px; line-height: 1.5; }
button { width: 100%; padding: 16px 22px; border: 0; border-radius: 12px; color: var(--white); background: var(--green-800); font-weight: 750; cursor: pointer; box-shadow: 0 12px 24px rgba(23,74,61,.2); }
button:hover { background: var(--green-950); }
button:focus-visible { outline: 3px solid rgba(201,163,61,.6); outline-offset: 3px; }
.form-message { min-height: 22px; margin: 12px 0 0; color: #9b3b32; font-size: 13px; }
.support-note { display: grid; gap: 4px; max-width: 520px; margin-top: 34px; padding: 19px; border-left: 3px solid var(--gold); background: rgba(255,255,255,.52); }
.support-note strong { color: var(--green-950); font-size: 14px; }
.support-note span { color: var(--muted); font-size: 13px; line-height: 1.5; }
.build-note { max-width: 520px; margin: 28px 0 0; color: #87928e; font-size: 11px; }

@media (max-width: 880px) {
  .page-shell { grid-template-columns: 1fr; }
  .brand-panel { min-height: auto; padding: 28px 24px 46px; }
  .statement { padding: 70px 0 55px; }
  .statement h2 { font-size: clamp(42px, 12vw, 66px); }
  .login-panel { min-height: 620px; padding: 54px 24px 70px; }
}
@media (max-width: 480px) {
  .brand-lockup img { width: 56px; height: 56px; }
  .brand-lockup h1 { font-size: 22px; }
  .statement > p:last-child { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}

body { display: flex; flex-direction: column; }
.page-shell { flex: 1; min-height: calc(100vh - 68px); }
.brand-panel { min-height: calc(100vh - 68px); }
.neologicx-footer { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 68px; padding: 12px 20px; border-top: 1px solid var(--line); background: var(--white); color: var(--muted); font-size: 12px; }
.neologicx-footer a { display: inline-flex; align-items: center; border-radius: 4px; }
.neologicx-footer a:focus-visible { outline: 3px solid rgba(201,163,61,.55); outline-offset: 3px; }
.neologicx-footer img { display: block; width: 132px; height: 20px; object-fit: contain; }
@media (max-width: 880px) { .brand-panel { min-height: auto; } }
@media (max-width: 520px) { .neologicx-footer { flex-direction: column; gap: 7px; text-align: center; } }
