/* Kinesis sign-in pages. Same look as kinesis.yashdoshi.org (web/kinesis-site/style.css):
   one accent, condensed display type, flat surfaces, small radii. Keep it plain. */
:root {
  --bg: #0D0D0F; --surface: #151518; --line: #26262B; --text: #EEEEE9; --body: #C8C8C3; --muted: #9C9CA3;
  --accent: #4C7DFF; --accent-ink: #9DB6FF; --red: #FF7A7E;
  --display: "Archivo", "Arial Narrow", sans-serif;
  --sans: "IBM Plex Sans", -apple-system, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; background: var(--bg); color: var(--text); font: 17px/1.6 var(--sans); -webkit-font-smoothing: antialiased; }
a { color: var(--accent-ink); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--text); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
[hidden] { display: none !important; }
.mono { font-family: var(--mono); font-size: .9em; }
.quiet { color: var(--muted); }

.top { display: flex; align-items: center; justify-content: space-between; gap: 12px 24px; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-family: var(--display); font-stretch: 75%; font-weight: 800; font-size: 24px; }
.brand:hover { color: var(--text); }
.mark { width: 28px; height: 28px; border-radius: 7px; flex: none; background: url(/img/apple-touch-icon.png) center / cover; }
.where { color: var(--muted); font: 13px var(--mono); }

main { flex: 1; width: 100%; max-width: 520px; margin: 0 auto; padding: 56px 20px 64px; }
h1 { font-family: var(--display); font-stretch: 75%; font-weight: 800; letter-spacing: -0.01em; line-height: 0.98; margin: 0; text-transform: uppercase; font-size: clamp(44px, 11vw, 64px); }
.eyebrow { margin: 0 0 12px; color: var(--muted); font: 13px var(--mono); }
.lede { margin: 16px 0 0; color: var(--body); font-size: 18px; }

form { margin-top: 32px; }
label { display: block; margin: 20px 0 6px; font: 500 13px var(--mono); color: var(--muted); }
input { width: 100%; padding: 13px 14px; border-radius: 6px; border: 1px solid var(--line); background: var(--surface); color: var(--text); font: 17px var(--sans); outline: none; }
input:focus { border-color: var(--accent); }

button { font: 600 16px var(--sans); border-radius: 6px; cursor: pointer; padding: 14px 20px; }
button:disabled { opacity: .55; cursor: default; }
.primary { width: 100%; margin-top: 28px; border: 0; background: var(--accent); color: #fff; }
.primary:hover:not(:disabled) { background: #3A6BF0; }
.actions { display: grid; gap: 8px; margin-top: 28px; }
.actions .primary { margin-top: 0; }
.plain { border: 1px solid var(--line); background: transparent; color: var(--text); }
.plain:hover:not(:disabled) { border-color: var(--muted); }

.can { width: 100%; margin-top: 32px; border-collapse: collapse; font-size: 15px; }
.can caption { text-align: left; font: 500 13px var(--mono); color: var(--muted); padding-bottom: 10px; }
.can th { text-align: left; vertical-align: top; width: 7.5em; padding: 14px 16px 14px 0; font: 500 14px var(--mono); color: var(--text); border-top: 1px solid var(--line); }
.can td { padding: 14px 0; color: var(--body); border-top: 1px solid var(--line); }
.can tr:last-child th, .can tr:last-child td { border-bottom: 1px solid var(--line); }
.note { margin: 20px 0 0; color: var(--muted); font-size: 15px; }
.who { margin: 24px 0 0; color: var(--muted); font-size: 14px; }
.error { color: var(--red); font-size: 15px; margin: 18px 0 0; min-height: 1em; }

.foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding: 24px 20px 32px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.foot a { color: var(--muted); text-decoration: none; }
.foot a:hover { color: var(--text); }

@media (max-width: 420px) { .can th { width: 6.5em; } main { padding-top: 40px; } }
