/* Public pages (landing and sign in). Plain CSS so they load without the app bundle. */
*, *::before, *::after { box-sizing: border-box; }
:root { --ink: #111827; --muted: #6b7280; --line: #e5e7eb; --soft: #9ca3af; }
html, body { margin: 0; }
body { font: 16px/1.5 ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; color: var(--ink); background: #fff; -webkit-font-smoothing: antialiased; }
a { color: inherit; }

.bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .85rem 1.25rem; border-bottom: 1px solid var(--line); }
.mark { font-weight: 600; letter-spacing: -.01em; text-decoration: none; }
.mark span, .hero h1 span { color: var(--soft); }
.action { font-size: .9rem; text-decoration: none; padding: .35rem .8rem; border: 1px solid #d1d5db; border-radius: 6px; }
.action:hover { border-color: var(--ink); }

.landing { min-height: 100vh; display: flex; flex-direction: column; }
.hero { flex: 1; display: flex; flex-direction: column; justify-content: center; padding: 3rem 1.25rem; max-width: 64rem; width: 100%; margin: 0 auto; }
.hero h1 { margin: 0; font-size: clamp(2.5rem, 9vw, 5.5rem); font-weight: 600; letter-spacing: -.035em; line-height: 1; }
.url { margin: 1.1rem 0 0; font: 1rem/1.4 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; color: var(--muted); }
.url a { text-decoration: none; border-bottom: 1px solid var(--line); }
.url a:hover { color: var(--ink); border-color: var(--ink); }
.foot { padding: 1rem 1.25rem; font-size: .8rem; color: var(--soft); border-top: 1px solid var(--line); }

/* Sign in */
.auth { max-width: 22rem; margin: 4rem auto; padding: 0 1.25rem; }
.auth h2 { font-size: 1.35rem; font-weight: 600; letter-spacing: -.02em; margin: 0 0 1.25rem; }
.auth label { display: block; margin-top: 1rem; font-size: .9rem; color: #374151; }
.auth input:not([type=checkbox]) { display: block; width: 100%; margin-top: .3rem; padding: .55rem .7rem; font: inherit; border: 1px solid #d1d5db; border-radius: 6px; }
.auth input:not([type=checkbox]):focus { outline: none; border-color: var(--ink); }
.auth .remember { display: flex; align-items: center; gap: .4rem; }
.auth button { margin-top: 1.4rem; width: 100%; padding: .6rem 1.2rem; font: inherit; font-weight: 500; color: #fff; background: var(--ink); border: 0; border-radius: 6px; cursor: pointer; }
.auth button:hover { background: #374151; }
.error { color: #b00020; margin: .5rem 0 0; font-size: .9rem; }
