@font-face {
  font-family: Inter;
  src: url('/assets/inter.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
}

:root {
  font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: #17272f;
  background: #fcfbf9;
  -webkit-font-smoothing: antialiased;
}

* { box-sizing: border-box; }
body, h1, h2, p { margin: 0; }
a { color: inherit; }
:is(a, button, input):focus-visible { outline: 3px solid #147981; outline-offset: 3px; }
.skip { position: fixed; z-index: 2; top: .75rem; left: .75rem; padding: .8rem 1rem; background: white; transform: translateY(-200%); }
.skip:focus { transform: none; }

.login-layout {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  min-height: 100vh;
  min-height: 100svh;
}

.brand-panel {
  position: relative;
  isolation: isolate;
  padding: clamp(2rem, 4.3vw, 5rem);
  background: #20343a;
  overflow: hidden;
}

.field-photo, .brand-panel::before {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.field-photo { z-index: -2; object-fit: cover; object-position: 59% 50%; }
.brand-panel::before {
  content: '';
  z-index: -1;
  background: linear-gradient(165deg, rgb(12 26 33 / 83%), rgb(12 26 33 / 45%) 25%, transparent 61%);
}

.brand { display: inline-block; border-radius: 2px; }
.brand img { display: block; width: clamp(10rem, 15vw, 14rem); height: auto; }
.brand:focus-visible { outline-color: #ffb98d; }

.workspace-panel {
  display: grid;
  align-content: center;
  padding: clamp(2rem, 6vw, 7rem);
}

.choices { width: 100%; max-width: 30rem; margin: 0 auto; }
h1 { font-size: clamp(2.75rem, 4vw, 4.25rem); line-height: 1.02; font-weight: 660; letter-spacing: -.065em; }
p { color: #475b62; font-size: 1rem; line-height: 1.55; }
.intro { margin-top: .75rem; font-size: 1.09rem; }
.workspace { margin-top: clamp(2rem, 4vw, 3.65rem); border-top: 3px solid #ce5d32; padding-top: 1.45rem; }
.workspace label { display: block; margin: 0 0 .5rem; font-size: 1rem; font-weight: 620; }
.workspace input:not([type="hidden"]) { display: block; width: 100%; min-height: 3rem; padding: .6rem .8rem; border: 1px solid #96a3a8; border-radius: .35rem; font: inherit; color: #17272f; background: white; }
.workspace input + label { margin-top: 1.15rem; }
.feedback { color: #912e24; margin-bottom: 1rem; }
.primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.05rem;
  padding: .75rem 1.1rem;
  border-radius: .35rem;
  line-height: 1.3;
  font-size: 1rem;
  font-weight: 620;
  text-align: center;
  text-decoration: none;
}

.primary { width: 100%; background: #18313e; color: white; border: 0; font-family: inherit; cursor: pointer; }
.primary:hover { background: #294855; }
.recovery, .account-links a, .register a { color: #844023; font-weight: 590; text-decoration: underline; text-underline-offset: .2em; }
.recovery, .account-links a { display: inline-flex; align-items: center; min-height: 2.8rem; }
.recovery:hover, .account-links a:hover, .register a:hover { color: #442b20; }
.account-links { display: flex; justify-content: space-between; gap: 0 1rem; flex-wrap: wrap; margin-top: .65rem; }
.register { margin-top: 1rem; border-top: 1px solid #cfd8d8; padding-top: 1.25rem; }
.register a { display: inline-block; padding-block: .3rem; }

@media (max-width: 49.99rem) {
  .login-layout { display: block; }
  .brand-panel { min-height: clamp(7rem, 20vw, 11rem); padding: 1.5rem max(1.5rem, calc((100% - 30rem) / 2)); display: flex; align-items: center; }
  .brand img { width: 10rem; }
  .field-photo { object-position: 50% 43%; }
  .brand-panel::before { background: linear-gradient(85deg, rgb(11 24 31 / 94%), rgb(13 27 34 / 62%) 46%, rgb(13 27 34 / 15%)); }
  .workspace-panel { padding: 2rem 1.5rem; }
}
