:root {
  color-scheme: dark;
  background: #000;
  color: #edece9;
  font-family: Paperlogy, sans-serif;
  font-synthesis: none;
  -webkit-text-size-adjust: 100%;
}
* { box-sizing: border-box; }
body {
  max-width: 1176px;
  margin: 0 auto;
  padding: env(safe-area-inset-top) max(24px, 5vw, env(safe-area-inset-right)) max(40px, env(safe-area-inset-bottom)) max(24px, 5vw, env(safe-area-inset-left));
}
.mast {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  border-bottom: 1px solid #353534;
}
.wordmark { display: inline-flex; align-items: center; gap: 9px; font-size: 17px; font-weight: 600; letter-spacing: -.055em; }
.edition, #access-period { color: #aaa9a6; font-size: 13px; line-height: 1.6; }
.entry {
  margin: clamp(40px, 12vh, 120px) auto 0;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  align-items: center;
  gap: clamp(48px, 9vw, 120px);
}
.still { display: block; width: 100%; height: auto; }
.entry-copy { width: 100%; max-width: 390px; }
h1 { margin: 0; font-size: clamp(38px, 4.8vw, 62px); line-height: 1.16; letter-spacing: -.065em; font-weight: 500; }
.intro { margin: 16px 0 0; color: #c2c1be; font-size: 15px; line-height: 1.7; word-break: keep-all; }
form { margin-top: 40px; }
label { display: block; margin-bottom: 8px; font-weight: 500; font-size: 14px; }
input, button { display: block; width: 100%; min-height: 52px; border-radius: 3px; font: inherit; }
input {
  border: 1px solid #737270;
  padding: 10px 15px;
  color: #edece9;
  background: #101010;
  font-size: 16px;
  caret-color: #edece9;
}
:focus-visible { outline: 2px solid #edece9; outline-offset: 3px; }
#error { margin: 10px 0 0; font-size: 14px; line-height: 1.65; word-break: keep-all; }
#error:empty { display: none; }
button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 14px;
  padding: 0 18px;
  background: #edece9;
  border: 0;
  color: #111;
  font-weight: 600;
  cursor: pointer;
}
button span { width: 22px; height: 1px; background: currentColor; position: relative; }
button span::after { content: ""; position: absolute; right: 1px; top: -4px; width: 8px; height: 8px; border: solid currentColor; border-width: 1px 1px 0 0; transform: rotate(45deg); }
#access-period { margin: 14px 0 0; }
.mast a, .secondary { color: inherit; text-decoration: none; }
.secondary { display: inline-flex; align-items: center; min-height: 44px; margin-top: 12px; color: #c2c1be; font-size: 14px; text-decoration: underline; text-underline-offset: 4px; }
.application { max-width: 420px; margin: clamp(42px, 11vh, 108px) auto 0; }
.application h1 { font-size: clamp(34px, 5vw, 52px); }
.use-note { margin: 18px 0 6px; font-size: 13px; line-height: 1.7; color: #b6b5b1; word-break: keep-all; }
.consent { display: flex; align-items: center; gap: 10px; min-height: 44px; line-height: 1.55; cursor: pointer; }
.consent input { width: 18px; height: 18px; min-height: 0; margin: 0; accent-color: #edece9; flex: none; }
@media (max-width: 690px) {
  .mast { min-height: 64px; }
  .entry { display: block; max-width: 420px; margin-top: 24px; }
  .entry-copy { margin-top: 34px; max-width: none; }
  form { margin-top: 32px; }
}
@media (max-height: 560px) and (max-width: 690px) {
  .still { display: none; }
  .entry-copy { margin-top: 24px; }
}
@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
  ::view-transition-group(root) { animation-duration: 150ms; }
}
