@font-face {
  font-family: Stolzl;
  src: url("/assets/stolzl-regular.woff2") format("woff2");
  font-display: swap;
}
:root {
  color-scheme: light;
  font-family: Inter, Arial, Helvetica, sans-serif;
  color: #19181b;
  background: #f8f7f2;
  --focus: #6f38c4;
}
* { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; text-underline-offset: 3px; }
button, input { font: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }
a:focus-visible, button:focus-visible, input:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}
.access {
  display: grid;
  grid-template-columns: minmax(480px, 1fr) minmax(0, .9fr);
  min-height: 100vh;
  min-height: 100svh;
  padding: 14px;
}
.entry {
  display: flex;
  flex-direction: column;
  width: min(100%, 620px);
  margin-inline: auto;
  padding: clamp(16px, 3.1vw, 44px) clamp(22px, 4.2vw, 62px) 24px;
}
.entry-head, .entry-foot { flex: 0 0 auto; }
.brand {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: Stolzl, Arial, sans-serif;
  font-size: 31px;
  line-height: 1;
  font-weight: 650;
  letter-spacing: -.085em;
  text-decoration: none;
}
.brand-agency {
  font: 620 13px/1 Inter, Arial, sans-serif;
  letter-spacing: -.04em;
  margin-left: 5px;
}
.brand img { object-fit: contain; height: 42px; }
.entry-body {
  margin-block: auto;
  padding-block: clamp(48px, 8vh, 88px);
  width: 100%;
  max-width: 450px;
  align-self: center;
}
h1 {
  margin: 0;
  font-size: clamp(2.65rem, 4.7vw, 4.4rem);
  line-height: .98;
  font-weight: 850;
  letter-spacing: -.075em;
  text-wrap: balance;
}
.intro { margin: 15px 0 29px; line-height: 1.5; color: #514f55; }
.field { margin-bottom: 20px; }
.field label { display: block; font-size: .93rem; font-weight: 680; margin-bottom: 8px; }
.field input {
  background: #fff;
  color: #17161a;
  border: 1.5px solid #a7a4a8;
  border-radius: 10px;
  width: 100%;
  min-height: 51px;
  padding: 12px 14px;
}
.field input:focus { border-color: var(--focus); }
.password-field { position: relative; }
.password-field input { padding-right: 85px; }
.password-field button {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  min-height: 36px;
  border: 0;
  border-radius: 6px;
  color: #492679;
  background: transparent;
  padding: 6px 9px;
  font-size: .85rem;
  font-weight: 680;
}
.password-field button:hover { background: #f0e8ff; }
.hint, .agreement, .error { font-size: .89rem; line-height: 1.48; }
.hint { margin: 7px 0 0; color: #514f55; }
.agreement { margin: 0 0 18px; }
.error {
  border-left: 3px solid #a1303a;
  padding: 9px 12px;
  background: #f9e8e5;
  color: #83202a;
  margin: 0 0 14px;
}
.submit {
  color: white;
  width: 100%;
  min-height: 50px;
  border: none;
  border-radius: 50px;
  background: #19181b;
  font-weight: 720;
  padding: 12px 18px;
}
.submit:hover:not(:disabled) { background: #39343e; }
.submit:disabled { cursor: default; opacity: .68; }
.switch { font-size: .97rem; line-height: 1.55; margin: 23px 0 0; }
.switch a { font-weight: 680; }
.entry-foot {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  font-size: .82rem;
  line-height: 1.5;
  color: #514f55;
}
.print {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  align-content: center;
  justify-items: center;
  border-radius: 24px;
  background: #c8aaef;
  color: #19181b;
}
.print-grid {
  position: absolute;
  z-index: -1;
  inset: 0;
  background-image: radial-gradient(#644c7e85 1px, transparent 1.5px);
  background-size: 12px 12px;
}
.print-seal {
  display: grid;
  place-items: center;
  width: min(62%, 430px);
  aspect-ratio: 1;
  position: relative;
  border-radius: 26%;
  background: #f7f5ee;
  box-shadow: 9px 11px 0 #19181b;
  border: 2px solid #19181b;
  transform: rotate(-8deg);
}
.print-seal img { width: 84%; height: auto; }
.print-word {
  font-family: Stolzl, Arial, sans-serif;
  font-size: clamp(3rem, 8vw, 9.5rem);
  font-weight: 650;
  letter-spacing: -.09em;
  line-height: 1;
  margin-top: clamp(28px, 5vh, 58px);
}
.print-word span { margin-left: .15em; letter-spacing: -.06em; font-size: .24em; }
@media (max-width: 810px) {
  .access { display: block; padding: 0; }
  .print { display: none; }
  .entry { min-height: 100vh; min-height: 100svh; padding: 23px clamp(20px, 6vw, 44px); }
  .entry-body { padding-block: 44px; }
}
