:root {
  color-scheme: light;
  --ink: #193831;
  --muted: #6d7972;
  --cream: #f7f7f1;
  --paper: #fff;
  --line: #dfe6dc;
  --dark: #153a35;
  --accent: #668469;
}

* { box-sizing: border-box; }
body {
  min-height: 100vh;
  margin: 0;
  display: flex;
  flex-direction: column;
  background: var(--cream);
  color: var(--ink);
  font: 15px/1.5 Arial, Helvetica, sans-serif;
}
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { cursor: pointer; }
button:focus-visible, a:focus-visible, input:focus-visible {
  outline: 3px solid #679369;
  outline-offset: 3px;
}
[hidden] { display: none !important; }
.topbar {
  width: min(1120px, 100%);
  margin: 0 auto;
  padding: 22px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand { display: inline-flex; align-items: center; gap: 9px; font-size: 23px; font-weight: 700; line-height: 1; letter-spacing: -1.2px; }
.brand-mark { display: grid; width: 37px; height: 37px; place-items: center; border-radius: 50%; background: var(--dark); color: white; font-size: 25px; }
.brand-light { font-weight: 400; }
.brand small { display: block; margin-top: 5px; color: #82948a; font-size: 8px; letter-spacing: 1.45px; }
.secure-label { color: #65796c; font-size: 9px; font-weight: 700; letter-spacing: 1.1px; }
.secure-label span { display: inline-block; width: 7px; height: 7px; margin-right: 6px; border-radius: 50%; background: #77966f; }
main { width: min(760px, 100%); margin: 0 auto; padding: 58px 32px 48px; flex: 1; }
.intro { margin-bottom: 25px; }
.eyebrow { color: #6b866c; font-size: 10px; font-weight: 700; letter-spacing: 1.8px; }
h1, h2 { margin: 0; font-family: Georgia, 'Times New Roman', serif; font-weight: 400; line-height: 1.1; }
h1 { margin-top: 13px; font-size: clamp(43px, 7vw, 64px); letter-spacing: -2.6px; }
h1 em { color: var(--accent); font-weight: 400; }
.intro > p { margin: 13px 0 0; color: var(--muted); line-height: 1.7; }
.notice { margin: 23px 0; padding: 19px 21px; border: 1px solid #d5c9a7; border-left: 4px solid #9a7946; border-radius: 5px; background: #fbf6e8; }
.notice strong { display: block; margin-bottom: 5px; color: #554324; font-size: 13px; }
.notice p, .card-intro, .security-note, .registration-note { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.7; }
.auth-card { margin-top: 24px; padding: clamp(22px, 5vw, 38px); border: 1px solid #e8ede7; border-radius: 6px; background: var(--paper); box-shadow: 0 12px 35px #233c2f0b; }
h2 { font-size: 32px; letter-spacing: -1px; }
.card-intro { margin: 10px 0 21px; }
form { display: grid; gap: 11px; }
label { margin-top: 5px; color: var(--ink); font-size: 12px; font-weight: 700; }
input { width: 100%; min-height: 47px; padding: 12px 13px; border: 1px solid #cfd9ce; border-radius: 4px; background: white; color: var(--ink); }
input:disabled { background: #f3f5f0; color: var(--muted); cursor: not-allowed; }
.button { min-height: 46px; margin-top: 7px; padding: 12px 18px; border: 1px solid var(--dark); border-radius: 4px; font-size: 12px; font-weight: 700; }
.primary { background: var(--dark); color: white; }
.primary:hover:not(:disabled) { background: #28584d; }
.outline { background: transparent; color: var(--dark); }
.button:disabled, .text-button:disabled { cursor: not-allowed; opacity: .5; }
.text-button { margin-top: 14px; padding: 5px 0; border: 0; background: transparent; color: #4e6f5c; font-size: 12px; font-weight: 700; }
.form-status { min-height: 1.5em; margin: 12px 0 0; color: #7a3d32; font-size: 12px; }
.security-note { margin-top: 17px; padding-top: 15px; border-top: 1px solid var(--line); }
.registration-note { margin: 23px 0 0; text-align: center; }
footer { width: min(1120px, 100%); margin: 0 auto; padding: 20px 32px 26px; display: flex; justify-content: space-between; gap: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: 11px; }
footer a { color: var(--ink); font-weight: 700; }
@media (max-width: 520px) {
  .topbar { padding: 18px 20px; }
  .secure-label { max-width: 102px; line-height: 1.5; text-align: right; }
  main { padding: 42px 20px; }
  footer { padding: 18px 20px 24px; flex-direction: column; }
}
