@font-face {
  font-family: "DM Sans";
  src: url("/fonts/dm-sans-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 1000;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Serif";
  src: url("/fonts/instrument-serif-latin-400-italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
:root { color-scheme: light; font-family: "DM Sans", sans-serif; color: #26342d; background: #f7f7f2; }
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; min-height: 100svh; display: grid; place-items: center; padding: clamp(16px, 5vw, 72px); }
.entry { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .92fr); width: min(940px,100%); background: #fcfcf8; border: 1px solid #dfe3d8; border-radius: 24px; overflow: hidden; box-shadow: 0 18px 70px #24372d0b; }
.entry-main { display: flex; flex-direction: column; justify-content: center; padding: clamp(25px, 5vw, 65px); }
.brand { display: inline-flex; gap: 10px; align-items: center; font-weight: 780; font-size: 30px; letter-spacing: -1.7px; color: #252c28; }
.brand img { border-radius: 9px; }
h1 { margin: 48px 0 22px; font: italic 400 clamp(38px, 5vw, 53px)/1.07 "Instrument Serif", Georgia, serif; letter-spacing: -.8px; }
form { display: grid; gap: 7px; }
label { font-size: 14px; font-weight: 650; }
input { width: 100%; padding: 12px 14px; border: 1px solid #b8c2b6; background: #fff; border-radius: 9px; font: inherit; margin: 0 0 13px; color: #26342d; }
button, .retry { background: #ac472b; color: white; border-radius: 9px; padding: 13px 15px; font: 650 16px "DM Sans", sans-serif; cursor: pointer; border: 0; text-align: center; text-decoration: none; }
button:hover,.retry:hover { background: #943d25; }
input:focus-visible, button:focus-visible, a:focus-visible { outline: 3px solid #9c492c; outline-offset: 3px; }
.message { line-height: 1.55; margin: 0 0 19px; }
.error { color: #87341d; background: #fae9df; border-radius: 8px; padding: 10px 12px; font-size: 14px; }
.landscape { background: #244634 url("/cergy.webp") 64% center / cover no-repeat; }
@media (max-width: 650px) {
  .entry { display: flex; flex-direction: column; max-width: 430px; border-radius: 18px; }
  .entry-main { padding: clamp(23px, 7vw, 37px); }
  .landscape { height: clamp(82px, 20vh, 135px); background-position: 54% 60%; }
  h1 { margin: 26px 0 19px; }
}
