@font-face { font-family: 'Jost'; font-weight: 500; font-display: swap; src: url('/brand/fonts/jost-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'Source Sans 3'; font-weight: 400; font-display: swap; src: url('/brand/fonts/source-sans-3-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Source Sans 3'; font-weight: 600; font-display: swap; src: url('/brand/fonts/source-sans-3-latin-600-normal.woff2') format('woff2'); }

/*
 * The form in the middle of the page, with the monogram large and faint behind
 * it as a seal, turning very slowly where motion is welcome. The name is in
 * the heading, so the logo is not repeated over its own mark.
 */
:root {
  --ink: #1f2328; --ink-2: #475467; --ink-3: #667085; --rule: #e4e7ec; --act: #1f2328; --act-hover: #3a4048;
  --copper: #c88253; --problem: #b42318; --problem-wash: #fdecea; --field: #d0d5dd;
}
*, *::before, *::after { box-sizing: border-box; }
html, body { height: 100%; }
html { -webkit-tap-highlight-color: transparent; }
body {
  margin: 0; background: #ffffff; color: var(--ink);
  font: 400 16px/1.5 'Source Sans 3', 'Segoe UI', system-ui, sans-serif;
  display: flex; flex-direction: column; align-items: center; min-height: 100%; padding: 40px 20px 28px; overflow-x: hidden;
}
main { position: relative; z-index: 1; width: 100%; max-width: 380px; margin: auto 0; padding: 48px 0; }
footer { position: relative; z-index: 1; color: var(--ink-3); font-size: 13px; text-align: center; }
.seal { position: fixed; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.seal img {
  position: absolute; left: 50%; top: 50%; width: min(720px, 120vw); height: auto; opacity: .08; user-select: none;
  transform: translate(-50%, -50%);
}
@media (prefers-reduced-motion: no-preference) {
  .seal img { animation: turn 60s ease-in-out infinite alternate; }
  @keyframes turn { from { transform: translate(-50%, -50%) rotate(0deg); } to { transform: translate(-50%, -50%) rotate(-4deg); } }
}

h1 { font: 500 30px/1.12 'Jost', 'Futura', sans-serif; letter-spacing: -0.016em; margin: 0 0 8px; }
.lede { color: var(--ink-2); margin: 0 0 28px; }
form { display: grid; gap: 10px; }
label { font-size: 14px; font-weight: 600; color: var(--ink-2); }
input[type=email], input[type=text] {
  font: inherit; width: 100%; height: 48px; padding: 0 14px; border: 1px solid var(--field); border-radius: 12px;
  background: #fff; color: var(--ink); transition: border-color .15s, box-shadow .15s;
}
input:focus { outline: none; border-color: var(--copper); box-shadow: 0 0 0 3px rgba(200, 130, 83, .22); }
input.code { font-size: 26px; letter-spacing: .32em; font-feature-settings: 'tnum'; height: 60px; text-align: center; padding-left: .32em; }
input.code::placeholder { color: #d0d5dd; }
button[type=submit]:not(.link), a.button {
  font: 600 16px/1 'Source Sans 3', system-ui, sans-serif; height: 48px; margin-top: 8px; border: 0; border-radius: 999px;
  background: var(--act); color: #fff; cursor: pointer; display: inline-flex; align-items: center; justify-content: center;
  padding: 0 24px; text-decoration: none; transition: background .15s;
}
@media (hover: hover) { button[type=submit]:not(.link):hover, a.button:hover { background: var(--act-hover); } }
:focus-visible { outline: 2px solid var(--copper); outline-offset: 3px; }
.again { display: flex; justify-content: space-between; gap: 16px; margin-top: 20px; flex-wrap: wrap; }
.link { font: inherit; font-size: 15px; background: none; border: 0; padding: 0; color: var(--ink); cursor: pointer; text-decoration: underline; text-decoration-color: var(--field); text-underline-offset: 3px; }
@media (hover: hover) { .link:hover { text-decoration-color: var(--ink); } }
.msg { margin: -12px 0 20px; padding: 10px 14px; border-radius: 12px; background: var(--problem-wash); color: var(--problem); font-size: 15px; }
@media (max-width: 480px) {
  body { padding: 28px 28px 24px; }
  /* On a phone the seal sits at the middle right, cut by the edge of the screen. */
  .seal img { left: 88%; top: 50%; width: 120vw; }
  main { padding: 24px 0 40px; }
  h1 { font-size: 27px; }
}
