/* Screens the marketing page never had: authentication, account, documents.
   Everything the old page did have lives in page.css, untouched. */

.page { flex: 1; }
.page--offset { padding-top: 62px; }
.page--centred {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: calc(100svh - 62px);
  padding-block: 66px;
}

body { min-height: 100vh; display: flex; flex-direction: column; }

.theme-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 10px;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink);
  background: #fffdf6;
  border: var(--rule);
  border-radius: 6px;
  cursor: pointer;
}
.theme-toggle:hover { background: var(--yellow); }
.theme-toggle__glyph {
  width: 11px;
  height: 11px;
  border: 2px solid currentcolor;
  background: linear-gradient(to right, currentcolor 50%, transparent 50%);
  transform: rotate(45deg);
}
.theme-toggle[aria-pressed="true"] .theme-toggle__glyph {
  background: linear-gradient(to right, transparent 50%, currentcolor 50%);
}

/* --- panels, forms, notices --- */
.panel {
  padding: 40px 30px;
  background: #fffdf6;
  border: var(--rule);
  border-radius: 12px;
  box-shadow: var(--drop);
}
.panel--narrow { width: 100%; max-width: 34rem; margin-inline: auto; }
.panel__head { margin-bottom: 28px; }
.panel__title { font-size: 26px; line-height: 1.1; letter-spacing: .04em; text-transform: uppercase; }
.panel__lede { margin-top: 8px; font-size: 14px; color: #4c4e59; }
.panel__links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1.5px solid var(--paper-sunk);
  font-size: 13px;
}
.panel__links a { text-decoration: none; border-bottom: 2px solid transparent; }
.panel__links a:hover { border-color: var(--red); }

.form { display: flex; flex-direction: column; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field__label {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink-faint);
}
.field input[type="email"],
.field input[type="password"],
.field input[type="text"] {
  width: 100%;
  padding: 12px 14px;
  font: inherit;
  font-size: 15.5px;
  color: var(--ink);
  background: var(--paper);
  border: var(--rule);
  border-radius: 6px;
  transition: box-shadow .18s;
}
.field input:focus { box-shadow: 4px 4px 0 color-mix(in srgb, var(--ink) 13%, transparent); }
.field--invalid input { border-color: var(--red); }
.field__help { font-size: 12px; color: var(--ink-faint); }
.field__error { font-size: 12px; font-weight: 700; color: var(--red); }

.notices { display: flex; flex-direction: column; gap: 8px; margin-bottom: 18px; }
.notice {
  padding: 12px 18px;
  font-size: 14px;
  background: #fffdf6;
  border: var(--rule);
  border-left: 7px solid var(--ink);
  border-radius: 6px;
}
.notice--error { border-left-color: var(--red); color: var(--red); }
.notice--success { border-left-color: var(--green); }

.prose { max-width: 62ch; }
.prose + .prose { margin-top: 12px; }
.prose--muted { font-size: 13px; color: var(--ink-faint); }

.detail { display: grid; grid-template-columns: minmax(9rem, auto) 1fr; gap: 12px 28px; font-size: 14px; }
.detail dt { font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-faint); }


.colophon .wordmark { align-self: flex-start; }
.colophon__column a { display: block; }
.colophon__social a { display: inline-flex; align-items: center; gap: 6px; }


.button[aria-disabled="true"] { opacity: .72; pointer-events: none; box-shadow: none; }

/* Links to pages that are not built yet stay visible but inert. */
a[aria-disabled="true"] { opacity: .72; pointer-events: none; cursor: not-allowed; }
