/* The house, for every page outside the app that is not the landing (2026-11-25): sign-in,
   sign-up, pairing, desktop sign-in, 404 and the legal pages. Same paper, ink and letters as
   the landing (landing-alexander.css) and the app (office/study.css), always in daylight.
   Linked LAST, after public.css. */
:root, :root[data-theme] { color-scheme: light; }
body {
  --pub-ground: #fcfaf5; --pub-sheet: #fff; --pub-sheet-2: #f5f0e5; --pub-ink: #221d14; --pub-ink-muted: #574d40; --pub-ink-subtle: #716554;
  --pub-rule: #e4dccb; --pub-rule-strong: #cfc7b6; --pub-grid: transparent; --pub-shadow: none;
  --pub-signal: #1f2c25; --pub-signal-ink: #1f2c25; --pub-on-signal: #fcfaf5; --pub-signal-dim: rgba(31, 44, 37, .1); --pub-signal-line: rgba(31, 44, 37, .4);
  --paper: #1f2c25; --paper-ink: #fcfaf5; --surface-1: #fff; --surface-2: #f5f0e5; --surface-3: #ece5d6; --bg-raised: #fff; --accent: #1f2c25; --accent-ink: #fcfaf5; --accent-line: rgba(31, 44, 37, .4); --accent-dim: rgba(31, 44, 37, .1);
  --ok: #2f6b43; --ok-dim: rgba(47, 107, 67, .1); --alert: #a3342a; --alert-dim: rgba(163, 52, 42, .07); --alert-line: rgba(163, 52, 42, .35); --warn: #8a5a12;
  --title: "Cormorant Garamond", "Cormorant", Garamond, Georgia, serif;
  --font-ui: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; --font-mono: var(--font-ui);
  background: var(--pub-ground);
}
body::before, body::after, .ambient { content: none !important; display: none; }
::selection { background: #221d14; color: #fcfaf5; }
h1, .auth-aside h2 { font-family: var(--title); font-weight: 500; font-stretch: normal; letter-spacing: -.012em; line-height: 1.02; }
h1 { font-size: clamp(42px, 4.6vw, 64px); }
.lede { font-size: 17px; line-height: 1.5; }

/* the name, as it is on the landing */
.brand { gap: 12px; }
.brand span:last-child, .back { font-family: "Cinzel", Georgia, serif; font-weight: 500; font-size: 15px; letter-spacing: .13em; text-transform: uppercase; color: var(--pub-ink); }
.brand span.os { font: inherit; letter-spacing: inherit; color: inherit; }
.brand-mark, .back::before { width: 10.5px; height: 12.5px; border: 0; border-radius: 0; background: var(--pub-ink); box-shadow: none;
  -webkit-mask: var(--spade) center / contain no-repeat; mask: var(--spade) center / contain no-repeat;
  --spade: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-96 -104 192 228'%3E%3Cpath d='M0 -100C34 -52 92 -26 92 30C92 66 64 88 36 88C22 88 12 82 6 74C8 96 18 112 36 120L-36 120C-18 112 -8 96 -6 74C-12 82 -22 88 -36 88C-64 88 -92 66 -92 30C-92 -26 -34 -52 0 -100Z'/%3E%3C/svg%3E"); }
.brand-mark svg { display: none; }
.top-link:hover { background: none; text-decoration: underline; text-underline-offset: 4px; }
.top-link b { font-weight: 500; color: var(--pub-ink); }

/* a form is fields on the page, not a card */
.panel { border: 0; border-top: 1px solid var(--pub-ink); border-radius: 0; background: none; padding: 26px 0 0; box-shadow: none; }
input, select { border-radius: 5px; background-color: #fff; border: 1px solid var(--pub-rule-strong); color: var(--pub-ink); min-height: 46px; }
input:focus, select:focus { border-color: var(--pub-ink); background-color: #fff; box-shadow: 0 0 0 3px rgba(31, 44, 37, .1); }
.field-label { color: var(--pub-ink); }
.submit, .btn, a.btn, .btn-primary, a.btn.primary, .closed-cta { border-radius: 5px; height: 48px; font-weight: 500; box-shadow: none; }
.submit:hover, .btn:hover, a.btn:hover, .btn-primary:hover, a.btn.primary:hover { background: #2c3b33; color: #fcfaf5; }
a.btn:not(.primary):not(.btn-primary):where(.actions a) { display: inline-flex; align-items: center; }
.switch, .switch a { font-size: 14px; }
.code { font-family: var(--title); font-style: italic; font-size: 20px; letter-spacing: 0; }
.code::before { display: none; }
.carried-job, .who, .avatar { border-radius: 5px; }
.carried-job .carried-job-head { font-family: var(--title); font-style: italic; font-size: 18px; }

/* the other half of the page: one photograph, one line */
@media (min-width: 1000px) {
  .auth-aside { margin: 0; border: 0; border-radius: 0; padding: clamp(36px, 4vw, 72px); justify-content: flex-end; background: #2a241a center / cover no-repeat; }
  .auth-aside::before { background: linear-gradient(0deg, rgba(18, 15, 8, .62), transparent 46%); -webkit-mask: none; mask: none; }
  .auth-aside::after { content: none; }
  .auth-aside h2 { color: #fffaf0; max-width: 15ch; font-size: clamp(40px, 4.1vw, 76px); text-shadow: 0 1px 30px rgba(16, 12, 4, .5); }
  .auth-aside p { margin: -10px 0 0; color: rgba(255, 250, 240, .92); font-size: 16px; line-height: 1.5; max-width: 44ch; text-shadow: 0 1px 14px rgba(16, 12, 4, .7); }
  .aside-letter { background-image: url("/static/ax-letter.webp"); background-position: 50% 100%; justify-content: flex-start; }
  .aside-letter::before { background: linear-gradient(180deg, rgba(18, 15, 8, .66), transparent 52%); }
  .aside-table { background-image: url("/static/ax-table.webp"); }
}
/* the half-page photograph on a big or dense screen: the 4K copies (27 Nov) */
@media (min-width: 1000px) and (min-resolution: 1.5dppx), (min-width: 2200px) {
  .aside-letter { background-image: url("/static/ax-letter-3840.webp"); }
  .aside-table { background-image: url("/static/ax-table-3840.webp"); }
}

/* the legal pages */
.wrap h1 { font-size: clamp(40px, 6vw, 60px); }
.wrap h2 { font-size: 17px; }
.updated { font-size: 13px; }
.wrap nav a.here { border-bottom-width: 1px; font-weight: 500; }
