:root {
  color-scheme: light;
  --ink: #18211d;
  --ink-soft: #58635d;
  --canvas: #eef2ef;
  --paper: #ffffff;
  --line: #d5dcd6;
  --green: #2f6f52;
  --green-dark: #24573f;
  --amber: #f0b760;
  --red: #a8463d;
}

* {
  box-sizing: border-box;
  letter-spacing: 0;
}

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

body {
  border-left: 12px solid #17201c;
  background: var(--canvas);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

.login-panel {
  width: min(100%, 440px);
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--paper);
  box-shadow: 0 10px 30px rgb(24 33 29 / 10%);
  padding: 34px;
}

.brand-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}

.brand-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 6px;
  background: var(--amber);
  color: #17201c;
  font-size: 12px;
  font-weight: 800;
}

.brand-row > div:last-child {
  display: grid;
}

.brand-row strong {
  font-size: 15px;
}

.brand-row span {
  color: var(--ink-soft);
  font-size: 12px;
}

.login-copy {
  margin: 32px 0 24px;
}

.eyebrow {
  margin: 0 0 7px;
  color: var(--green);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-size: 34px;
  line-height: 1.12;
}

.login-copy p:last-child {
  margin: 10px 0 0;
  color: var(--ink-soft);
  line-height: 1.55;
}

.login-action {
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  background: var(--green);
  color: #ffffff;
  font-weight: 750;
  text-decoration: none;
}

.login-action:hover {
  background: var(--green-dark);
}

.login-action:focus-visible {
  outline: 3px solid rgb(47 111 82 / 25%);
  outline-offset: 3px;
}

.login-error {
  margin: 16px 0 0;
  color: var(--red);
  font-size: 13px;
  line-height: 1.45;
}

.login-note {
  margin: 24px 0 0;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 12px;
  line-height: 1.5;
}

@media (max-width: 520px) {
  .login-shell {
    align-items: start;
    padding: 20px 16px;
  }

  .login-panel {
    padding: 26px 22px;
  }

  h1 {
    font-size: 30px;
  }
}
