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

:root {
  --ink: #0f6b43;
  --ink-mid: #198b5a;
  --ink-soft: #5a7f6f;
  --cream: #f3f8f5;
  --warm: #e8f2ec;
  --border: #cfe3d7;
  --white: #ffffff;
  --gold: #2fa56f;
  --shadow: 0 24px 60px rgba(15, 107, 67, 0.12);
}

body {
  font-family: 'DM Sans', sans-serif;
  background:
    radial-gradient(circle at top left, rgba(47, 165, 111, 0.16), transparent 32%),
    linear-gradient(135deg, #f7fbf8 0%, #edf6f0 48%, #f9fcfa 100%);
  color: var(--ink);
  min-height: 100vh;
}

.login-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
}

.login-aside {
  background: linear-gradient(160deg, #0f6b43 0%, #0f5d3d 100%);
  color: var(--white);
  padding: 40px 48px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  position: relative;
  overflow: hidden;
}

.login-aside::before,
.login-aside::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
}

.login-aside::before {
  width: 280px;
  height: 280px;
  top: -110px;
  right: -70px;
}

.login-aside::after {
  width: 220px;
  height: 220px;
  bottom: -90px;
  left: -70px;
}

.brand {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--white);
}

.brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--gold);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.brand-mark svg {
  width: 18px;
  height: 18px;
  fill: var(--ink);
}

.brand strong {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  line-height: 1.1;
}

.brand small {
  display: block;
  margin-top: 3px;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.62);
}

.aside-copy {
  position: relative;
  z-index: 1;
  max-width: 520px;
  margin-top: auto;
  margin-bottom: auto;
}

.eyebrow {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.66);
  margin-bottom: 14px;
}

.eyebrow-green {
  color: var(--gold);
}

.aside-copy h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.4rem, 4vw, 3.6rem);
  line-height: 1.08;
  margin-bottom: 18px;
}

.aside-text {
  max-width: 460px;
  font-size: 1rem;
  line-height: 1.8;
  color: rgba(255,255,255,0.74);
}

.aside-cards {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.aside-card {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px;
  padding: 20px;
  backdrop-filter: blur(8px);
}

.card-kicker {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.56);
  margin-bottom: 10px;
}

.aside-card strong {
  display: block;
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.aside-card p {
  font-size: 0.82rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.68);
}

.login-main {
  padding: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.login-card {
  width: min(520px, 100%);
  background: rgba(255,255,255,0.9);
  border: 1px solid rgba(207, 227, 215, 0.9);
  border-radius: 24px;
  padding: 34px 32px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}

.login-head h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  line-height: 1.12;
  margin-bottom: 10px;
}

.login-head p {
  color: var(--ink-soft);
  font-size: 0.95rem;
  line-height: 1.75;
}

.login-form {
  margin-top: 24px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}

.field label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.field input {
  height: 48px;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0 14px;
  font: inherit;
  color: var(--ink);
  background: var(--white);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.field input:focus {
  outline: none;
  border-color: var(--ink-mid);
  box-shadow: 0 0 0 3px rgba(25, 139, 90, 0.14);
}

.form-row {
  margin: 8px 0 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.check-row {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.84rem;
  color: var(--ink-soft);
}

.check-row input {
  accent-color: var(--ink-mid);
}

.helper-link {
  font-size: 0.84rem;
  color: var(--ink-mid);
  text-decoration: none;
  font-weight: 600;
}

.login-btn {
  width: 100%;
  height: 52px;
  border: none;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--ink), var(--ink-mid));
  color: var(--white);
  font: inherit;
  font-size: 0.95rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  box-shadow: 0 14px 28px rgba(15, 107, 67, 0.18);
}

.login-btn svg {
  width: 15px;
  height: 15px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2.5;
}

.helper-panel {
  margin-top: 18px;
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 14px 16px;
}

.helper-title {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 6px;
}

.helper-panel p {
  font-size: 0.84rem;
  color: var(--ink-mid);
  line-height: 1.7;
}

.login-footer {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
  font-size: 0.86rem;
  color: var(--ink-soft);
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.login-footer a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 700;
}

@media (max-width: 980px) {
  .login-shell {
    grid-template-columns: 1fr;
  }

  .login-aside {
    display: none;
  }

  .login-main {
    min-height: 100vh;
    padding: 24px 20px;
  }
}

@media (max-width: 640px) {
  body {
    background: linear-gradient(180deg, #f7fbf8 0%, #edf6f0 100%);
  }

  .login-card {
    width: 100%;
    padding: 26px 20px;
    border-radius: 18px;
    box-shadow: 0 16px 40px rgba(15, 107, 67, 0.1);
  }

  .form-row,
  .login-footer {
    flex-direction: column;
    align-items: flex-start;
  }
}
