
:root { --ink: #111114; --muted: #5d5d66; --line: #dcdcdf; --bg: #ececee; --card: #ffffff; --field: #f6f6f7; --brand: #111114; --brand-ink: #ffffff; --blue: #1f5fbf; --green: #1a7f3c; --warn: #8a5a00; color-scheme: light; }
@media (prefers-color-scheme: dark) { :root { --ink: #ececef; --muted: #a2a2ab; --line: #34343a; --bg: #0e0e10; --card: #1c1c20; --field: #141416; --brand: #f4f4f5; --brand-ink: #111114; --blue: #7aa7f0; --green: #4cc27a; --warn: #e6b450; color-scheme: dark; } }
* { box-sizing: border-box; }
html, body { min-height: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 15px/1.5 'IBM Plex Sans', system-ui, -apple-system, 'Segoe UI', sans-serif; display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 100vh; padding: 24px 16px; }
.fp-card { width: 100%; max-width: 880px; display: grid; grid-template-columns: 1fr 1fr; background: var(--card); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; box-shadow: 0 10px 30px rgba(0, 0, 0, .08); }
.fp-signin { padding: 48px 44px; display: flex; flex-direction: column; justify-content: center; }
.fp-signin h2 { font-size: 28px; line-height: 1.2; margin: 0 0 6px; font-weight: 600; }
.fp-lead { color: var(--muted); margin: 0 0 28px; }
.fp-beta { display: inline-block; vertical-align: middle; margin-left: 6px; padding: 2px 8px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); font-size: 12px; font-weight: 500; letter-spacing: .4px; text-transform: uppercase; }
.fp-btn { display: block; width: 100%; text-align: center; padding: 11px 18px; border-radius: 6px; border: 1px solid var(--ink); background: var(--ink); color: var(--card); font: inherit; font-weight: 500; text-decoration: none; cursor: pointer; }
/* Sign in with Google, following Google's button guidelines (light and dark themes). */
.fp-google { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; height: 44px; padding: 0 16px; border-radius: 6px; border: 1px solid #747775; background: #ffffff; color: #1f1f1f; font: 500 15px 'Roboto', system-ui, -apple-system, 'Segoe UI', sans-serif; letter-spacing: .25px; text-decoration: none; cursor: pointer; }
.fp-google:hover { background: #f7f8f8; box-shadow: 0 1px 2px rgba(60, 64, 67, .3), 0 1px 3px 1px rgba(60, 64, 67, .15); }
.fp-google:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.fp-g { width: 20px; height: 20px; flex: none; }
@media (prefers-color-scheme: dark) { .fp-google { background: #131314; border-color: #8e918f; color: #e3e3e3; } .fp-google:hover { background: #1c1c1e; } }
.fp-btn.fp-quiet { background: transparent; color: var(--ink); }
.fp-btn:focus-visible, input:focus-visible, textarea:focus-visible, summary:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.fp-note { color: var(--muted); font-size: 13px; margin: 10px 0 0; text-align: center; }
.fp-or { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 12px; margin: 28px 0 14px; }
.fp-or::before, .fp-or::after { content: ''; flex: 1; border-top: 1px solid var(--line); }
.fp-request summary { list-style: none; cursor: pointer; text-align: center; color: var(--muted); font-size: 14px; }
.fp-request summary::-webkit-details-marker { display: none; }
.fp-request summary span { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.fp-request[open] summary { margin-bottom: 16px; }
.fp-request form { margin: 0; }
label { display: block; font-size: 13px; color: var(--muted); margin: 0 0 12px; }
input, textarea { display: block; width: 100%; margin-top: 4px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 6px; background: var(--field); color: var(--ink); font: inherit; }
textarea { min-height: 64px; resize: vertical; }
.fp-trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.fp-msg { border-radius: 6px; padding: 10px 12px; margin: 0 0 16px; border: 1px solid var(--line); background: var(--card); font-size: 14px; }
.fp-msg.fp-ok { border-color: var(--green); }
.fp-msg.fp-err { border-color: var(--warn); }
.fp-brand { background: var(--brand); color: var(--brand-ink); padding: 48px 44px; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; min-height: 460px; }
.fp-brand-mark { width: 132px; height: 132px; margin-bottom: 26px; }
.fp-word { font-size: 56px; letter-spacing: .3px; line-height: 1.05; margin: 0; font-weight: 400; }
.fp-tag { font-size: 19px; margin: 18px 0 0; opacity: .9; }
.fp-about { font-size: 14px; margin: 8px 0 0; opacity: .7; max-width: 340px; }
.fp-word b { font-weight: 600; }
.fp-foot { margin-top: 18px; color: var(--muted); font-size: 12px; text-align: center; max-width: 640px; }
@media (max-width: 760px) {
  body { justify-content: flex-start; }
  .fp-card { grid-template-columns: 1fr; }
  .fp-brand { order: -1; min-height: 0; padding: 32px 24px; }
  .fp-brand-mark { width: 76px; height: 76px; margin-bottom: 14px; }
  .fp-word { font-size: 38px; }
  .fp-tag { font-size: 16px; margin-top: 10px; }
  .fp-about { font-size: 13px; }
  .fp-signin { padding: 28px 24px 32px; }
}
