@font-face {
  font-family: Rubik;
  src: url("/assets/rubik-variable.ttf") format("truetype");
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
}
:root {
  color-scheme: light;
  --ink: #19352e;
  --paper: #f8efd8;
  --white: #fffaee;
  --rust: #974024;
  --orange: #efa070;
  --muted: #57605a;
  --line: #c9c6b5;
  font: 16px/1.5 Rubik, system-ui, sans-serif;
  color: var(--ink);
  background: var(--white);
}
* { box-sizing: border-box }
body, h1, h2, p, ul { margin: 0 }
a, button { color: inherit }
button, input, textarea, summary { font: inherit }
button, summary { cursor: pointer }
button { border: 0; background: transparent; padding: 0 }
:focus-visible { outline: 3px solid var(--rust); outline-offset: 4px }
.cover { background: var(--paper) }
.cover-art {
  isolation: isolate; position: relative; margin: auto;
  min-height: 100svh; max-width: 1650px; display: grid; align-content: center;
  justify-items: center; padding: clamp(20px, 4vmin, 48px);
}
.cover-art h1 {
  z-index: 1; text-align: center; font-size: clamp(2.8rem, min(12.8vw, 17svh), 11rem);
  font-weight: 760; line-height: .96; letter-spacing: -.045em; word-spacing: .04em;
}
.cover-art h1 span { color: var(--rust); white-space: nowrap }
.cover-art img {
  display: block; width: min(79vw, 46svh, 465px); height: auto;
  margin-top: clamp(14px, 3.6svh, 44px); border-radius: 4px 26% 4px 26%;
  mix-blend-mode: multiply;
}
.studio {
  display: grid; min-height: 100svh;
  grid-template-columns: clamp(210px, 23vw, 352px) minmax(0, 1fr);
}
.rail {
  position: sticky; top: 0; height: 100svh; isolation: isolate; overflow: hidden;
  display: flex; flex-direction: column; align-items: start;
  padding: clamp(24px, 3vw, 52px); background: var(--ink); color: var(--paper);
}
.brand { color: inherit; text-decoration: none; font-size: clamp(32px, 3.5vw, 58px); line-height: .96; font-weight: 730; letter-spacing: -.04em; word-spacing: .03em }
.brand:focus-visible { outline-color: var(--orange) }
.rail-caption { margin-top: 16px; color: #d0ddcd; font-size: .9rem }
.rail-art { margin-top: auto; margin-bottom: 4px; width: min(100%, 225px); height: auto; border-radius: 3px 26% 3px 26% }
.workbench {
  align-self: start; width: min(100%, 1140px); min-width: 0; padding: clamp(40px, 8vh, 92px) clamp(26px, 5vw, 90px);
}
h1, h2 { font-weight: 590; line-height: 1.04; letter-spacing: -.055em }
h1 { font-size: clamp(2.25rem, 4.65vw, 4.8rem); overflow-wrap: anywhere }
h2 { font-size: clamp(1.35rem, 2.15vw, 2rem) }
.page-title, .register header, .register li, .actions, .compose-line { display: flex; align-items: center }
.page-title, .register li { justify-content: space-between; gap: 12px 22px }
.text-action, .revoke, .secondary, .back { color: var(--muted); font-size: .9rem; text-decoration: underline; text-underline-offset: .24em }
.text-action, .revoke, .export { min-height: 44px }
.text-action:hover, .back:hover, .secondary:hover { color: var(--ink) }
.compose { margin: 24px 0 clamp(38px, 6vh, 72px) }
.compose summary { list-style: none; display: flex; width: fit-content; align-items: center; gap: 10px; min-height: 44px; font-weight: 540 }
.compose summary::-webkit-details-marker { display: none }
.plus { position: relative; display: grid; place-items: center; border-radius: 50%; width: 26px; height: 26px; background: var(--ink); color: var(--white) }
.plus::before, .plus::after { content: ""; position: absolute; width: 12px; height: 2px; background: currentColor }
.plus::after { transform: rotate(90deg) }
.compose[open] .plus::after { display: none }
.compose form { margin-top: 16px; max-width: 500px; border-left: 2px solid var(--orange); padding: 0 0 4px 18px }
.compose-line { gap: 12px; align-items: stretch }
.register header { gap: 12px; padding-bottom: 16px; border-bottom: 2px solid var(--ink) }
.count { color: var(--rust); font-weight: 570; font-variant-numeric: tabular-nums }
.register ul { list-style: none; padding: 0 }
.register li { padding: 12px 0; flex-wrap: wrap; border-bottom: 1px solid var(--line) }
.register strong { overflow-wrap: anywhere; font-size: 1.1rem; font-weight: 520 }
.actions { flex-wrap: wrap; gap: 8px 24px }
.export { font-weight: 530 }
.export span { margin-left: 3px; color: var(--rust) }
.export:hover { text-decoration: underline; text-underline-offset: .24em }
.revoke { text-decoration: none }
.revoke:hover { color: var(--rust); text-decoration: underline }
.empty { padding-block: 20px; color: var(--muted) }
label { display: block; font-size: .92rem; font-weight: 520; margin: 20px 0 5px }
input, textarea { display: block; color: var(--ink); background: transparent; width: 100%; min-width: 0; border: 0; border-bottom: 1px solid #797f72; border-radius: 0; padding: 10px 0 }
input:focus, textarea:focus { border-color: var(--rust) }
textarea { border: 1px solid var(--line); padding: 12px; min-height: 110px; resize: vertical; font: .94rem/1.5 ui-monospace, monospace }
input[name="code"] { letter-spacing: .24em }
.hint { max-width: 55ch; color: var(--muted); font-size: .82rem; margin-top: 8px }
.submit {
  display: inline-flex; align-items: center; justify-content: center; gap: 32px;
  color: var(--white); background: var(--ink); border-radius: 24px;
  padding: 11px 22px; min-height: 44px; font-weight: 530;
}
.submit:hover { background: #305144 }
.danger, .danger:hover { background: var(--rust) }
.login-form, .narrow { max-width: 530px; margin: clamp(12px, 5vh, 72px) auto }
.login-form { max-width: 400px }
.login-form h1 { margin-bottom: 34px }
.login-form .submit, textarea + button, .narrow .actions { margin-top: 24px }
.back { display: inline-block; margin-bottom: 30px }
.narrow h1 { margin-bottom: 24px }
.narrow strong { overflow-wrap: anywhere }
.notice { margin-block: 18px; padding-left: 12px; border-left: 3px solid var(--ink) }
.notice.error { color: var(--rust); border-color: currentColor }
@media (max-width: 760px) {
  .studio { display: block }
  .rail { position: static; height: auto; padding: 18px 20px; flex-direction: row; align-items: center; gap: 12px }
  .brand { font-size: 1.4rem }
  .brand br { display: none }
  .rail-caption { margin: 0 0 0 auto; font-size: .8rem }
  .rail-art { display: none }
  .workbench { padding: 34px 20px 52px }
  .register li { padding-block: 8px }
  .actions { gap: 4px 16px }
}
@media (max-width: 440px) {
  .cover-art h1 { font-size: 13vw }
  .register li { align-items: start; flex-direction: column; gap: 0; padding-top: 14px }
}
