:root {
  color-scheme: dark;
  --ink: #e7e2d6;
  --muted: #b7c0b8;
  --brass: #c6a36a;
  --void: #0e1210;
  --plate: #171d1a;
  --line: #31403a;
  --danger: #e7b2a8;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--void);
  color: var(--ink);
  font: 16px/1.5 "Figtree", "Segoe UI", sans-serif;
}
a { color: var(--brass); }
.top, main { width: min(720px, calc(100% - 32px)); margin: 0 auto; }
.top {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: baseline;
  padding: 22px 0;
  border-bottom: 2px solid var(--brass);
}
.brand { color: var(--ink); font-weight: 700; text-decoration: none; letter-spacing: 0.04em; }
.top span, .fine, label span { color: var(--muted); }
main { padding: 28px 0 64px; }
h1 { font-size: clamp(32px, 5vw, 44px); line-height: 1.1; margin: 0 0 12px; }
form, .panel {
  background: var(--plate);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 20px;
  margin: 18px 0;
}
label { display: block; margin: 12px 0; }
input[type="text"], input[type="email"] {
  width: 100%;
  margin-top: 6px;
  padding: 10px 12px;
  border-radius: 4px;
  border: 1px solid var(--line);
  background: #101412;
  color: var(--ink);
  font: inherit;
}
button, .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  margin-top: 8px;
  padding: 10px 16px;
  border-radius: 4px;
  border: 1px solid var(--brass);
  background: var(--brass);
  color: #14120e;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
}
button.secondary, .button.secondary { background: transparent; color: var(--ink); }
.scopes { list-style: none; padding: 0; }
.scopes li { margin: 10px 0; }
.notice, .error { border-left: 3px solid var(--brass); padding: 8px 12px; color: var(--muted); }
.error { border-color: var(--danger); color: var(--danger); }
dl { display: grid; grid-template-columns: 11rem 1fr; gap: 8px 12px; }
dt { color: var(--muted); }
dd { margin: 0; overflow-wrap: anywhere; }
:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; }
@media (max-width: 640px) {
  .top { display: block; }
  dl { grid-template-columns: 1fr; }
}
