@font-face {
  font-family: "DM Sans";
  src: url("/assets/dm-sans.woff2") format("woff2");
  font-weight: 100 1000;
  font-style: normal;
  font-display: swap;
}
:root {
  font-family: "DM Sans", "Segoe UI", sans-serif;
  color: #252822;
  background: #faf9f6;
  font-synthesis: none;
  color-scheme: light;
}
* { box-sizing: border-box; }
body { margin: 0; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: wait; }
button, a, input { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid #ab432b; outline-offset: 4px; }
[hidden] { display: none !important; }
.brand { display: inline-flex; align-items: center; gap: .65rem; white-space: nowrap; font-size: 1.55rem; font-weight: 740; letter-spacing: -.065em; line-height: 1; color: #252822; }
.brand-mark { display: block; flex: none; }
.brand-domain { color: #ad432a; }
.login-page { max-width: 100rem; min-height: 100vh; min-height: 100svh; padding: 0 clamp(1.5rem, 5.25vw, 6.5rem); margin: auto; display: grid; grid-template-rows: auto 1fr auto; }
.site-header, .site-footer { display: flex; justify-content: space-between; align-items: center; gap: 1.25rem; }
.site-header { border-bottom: 1px solid #dcdcd3; min-height: 6.1rem; }
.portal-link, .site-footer button { display: inline-flex; align-items: center; gap: .5rem; font-size: .875rem; font-weight: 560; color: #474a44; text-decoration: none; }
.portal-link { padding: .52rem .85rem; border-radius: .45rem; border: 1px solid #d6d7cf; background: #fdfcf9; }
.portal-link:hover { border-color: #94968c; }
.entry-main { display: grid; grid-template-columns: minmax(18rem, .88fr) minmax(0, 1.18fr); gap: clamp(2.75rem, 7.6vw, 8rem); align-items: center; width: 100%; max-width: 78rem; margin: auto; padding: clamp(3rem, 7vh, 6.5rem) 0; }
.entry-form { width: 100%; max-width: 26.25rem; justify-self: center; }
.entry-form h1 { margin: 0 0 .7rem; font-size: clamp(2.52rem, 3.65vw, 3.7rem); font-weight: 590; letter-spacing: -.067em; line-height: 1.1; }
.entry-form h1 span { color: #b7472b; }
.entry-intro { margin: 0 0 2.5rem; font-size: 1.04rem; line-height: 1.55; color: #65685f; }
.entry-form label { display: inline-block; font-size: .91rem; font-weight: 640; }
.field-line { min-height: 3.1rem; padding: 0 .9rem; border: 1px solid #c9cbc2; border-radius: .52rem; background: #fff; display: flex; align-items: center; gap: .7rem; color: #72776c; margin-top: .48rem; transition: border-color .15s; }
.field-line:focus-within { border-color: #a6472d; box-shadow: 0 0 0 2px #b54b2b22; }
.field-line input { flex: 1; min-width: 1rem; width: 100%; line-height: 1.35; min-height: 3rem; padding: .4rem 0; border: 0; outline: 0; background: transparent; color: #222820; }
.field-line input::placeholder { color: #777c72; }
.field-line > svg { flex: none; }
.password-label { display: flex; justify-content: space-between; align-items: center; gap: .6rem; margin-top: 1.3rem; }
.text-button { border: 0; background: transparent; padding: .25rem 0; color: #9a3e27; font-size: .84rem; font-weight: 600; }
.text-button:hover, .site-footer button:hover { text-decoration: underline; text-underline-offset: .19em; }
.reveal-button { border: 0; background: transparent; display: grid; place-items: center; width: 2.4rem; height: 2.4rem; color: #666b63; margin-right: -.55rem; border-radius: .35rem; }
.reveal-button:hover { background: #f5f4ef; color: #1f2821; }
.entry-submit { display: block; width: 100%; padding: .9rem 1rem; margin-top: 1.65rem; border: 0; border-radius: .5rem; color: #fff; background: #ac4229; font-weight: 650; min-height: 3.12rem; }
.entry-submit:hover { background: #93351f; }
.entry-submit:disabled { opacity: .7; }
.login-error { font-size: .9rem; color: #9a3324; line-height: 1.45; margin: .8rem 0 0; }
.postal-art { width: 100%; border-radius: .95rem; overflow: hidden; background: #bd582d; }
.postal-art img { display: block; width: 100%; height: clamp(24rem, 36vw, 36.5rem); object-fit: cover; }
.site-footer { min-height: 4.6rem; border-top: 1px solid #dcdcd3; color: #686b63; font-size: .85rem; }
.site-footer button { padding: .4rem 0; font-weight: 500; color: #676c62; border: 0; background: transparent; }
.help-dialog { width: min(calc(100% - 2.5rem), 26rem); padding: 1.6rem; border-radius: .9rem; border: 1px solid #d6d7cf; color: #252822; box-shadow: 0 .9rem 5rem #24282024; }
.help-dialog::backdrop { background: #26271e70; }
.help-top { display: flex; align-items: center; justify-content: space-between; gap: .8rem; }
.help-top h2 { margin: 0; font-size: 1.35rem; letter-spacing: -.036em; }
.help-dialog p { color: #50564d; line-height: 1.55; }
@media (max-width: 790px) {
  .login-page { padding: 0 1.5rem; }
  .site-header { min-height: 5rem; }
  .entry-main { grid-template-columns: 1fr; gap: 0; padding: 3.5rem 0; }
  .entry-form { max-width: 26rem; }
  .postal-art { display: none; }
  .site-footer { min-height: 4rem; }
}
@media (max-width: 420px) {
  .login-page { padding: 0 1.15rem; }
  .site-header { gap: .6rem; }
  .site-header .brand { font-size: 1.3rem; gap: .4rem; }
  .site-header .brand-mark { width: 30px; height: 30px; }
  .portal-link { font-size: .8rem; padding: .5rem; gap: .3rem; }
  .site-footer { gap: .55rem; }
}
