:root {
  color-scheme: light;
  --eucalyptus: #a7bfae;
  --offwhite: #f8f8f5;
  --graphite: #24302a;
  --moss: #49685b;
  --paper: #f4efe8;
  --line: rgba(36, 48, 42, 0.12);
  --shadow: 0 24px 70px rgba(36, 48, 42, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
}

body {
  min-height: 100%;
  margin: 0;
  background:
    radial-gradient(circle at 78% 18%, rgba(167, 191, 174, 0.34), transparent 32%),
    linear-gradient(180deg, var(--offwhite) 0%, var(--paper) 58%, var(--offwhite) 100%);
  color: var(--graphite);
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

button,
input {
  font: inherit;
}

.login-page {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 24px;
}

.login-card {
  display: grid;
  width: min(920px, 100%);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(248, 248, 245, 0.86);
  box-shadow: var(--shadow);
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 0.78fr);
}

.login-copy {
  display: flex;
  min-height: 520px;
  flex-direction: column;
  justify-content: center;
  padding: clamp(28px, 6vw, 64px);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0)),
    rgba(167, 191, 174, 0.18);
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--moss);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1 {
  max-width: 520px;
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(3rem, 8vw, 5.8rem);
  font-weight: 600;
  line-height: 0.92;
}

.login-copy p:last-child {
  max-width: 520px;
  margin: 24px 0 0;
  color: rgba(36, 48, 42, 0.72);
  font-size: 1.05rem;
  line-height: 1.75;
}

.login-form {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
  padding: clamp(28px, 5vw, 48px);
}

label {
  display: grid;
  gap: 8px;
  color: rgba(36, 48, 42, 0.72);
  font-size: 0.86rem;
  font-weight: 800;
}

input {
  width: 100%;
  min-height: 54px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--graphite);
  outline: 0;
  padding: 0 16px;
}

input:focus {
  border-color: rgba(73, 104, 91, 0.52);
  box-shadow: 0 0 0 4px rgba(167, 191, 174, 0.28);
}

.login-error {
  margin: 0;
  border-radius: 8px;
  background: rgba(180, 87, 72, 0.1);
  color: #7a2d23;
  padding: 12px 14px;
  font-size: 0.9rem;
  font-weight: 700;
}

.login-button {
  display: inline-flex;
  min-height: 56px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 0;
  border-radius: 999px;
  background: var(--moss);
  color: var(--offwhite);
  cursor: pointer;
  padding: 14px 22px;
  font-weight: 800;
  transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.login-button:hover {
  background: var(--graphite);
  box-shadow: 0 18px 42px rgba(36, 48, 42, 0.18);
  transform: translateY(-1px);
}

.login-button:focus-visible {
  outline: 0;
  box-shadow: 0 0 0 4px rgba(167, 191, 174, 0.48);
}

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

  .login-copy {
    min-height: auto;
  }
}
