/* Sign-in page of the Pnyx Drafting Studio. External so the page runs under style-src 'self'. */
:root {
  --paper: #F3F5F9;
  --surface: #FFFFFF;
  --ink: #0F1B33;
  --ink-2: #46536B;
  --ink-3: #687390;
  --line: #D8DEE9;
  --line-2: #C3CBDA;
  --accent: #2E46C8;
  --accent-ink: #2338A8;
  --accent-soft: #E3E8FB;
  --on-accent: #FFFFFF;
  --err-soft: #FBE3DA;
  --dots: rgba(46, 70, 200, .16);
  --shadow: 0 1px 2px rgba(15, 27, 51, .05), 0 12px 32px rgba(15, 27, 51, .08);
  --f-display: "Piazzolla", Georgia, "Times New Roman", serif;
  --f-body: "Commissioner", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  --f-mono: "Red Hat Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 16px/1.55 var(--f-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.shell {
  position: relative;
  min-height: 100%;
  display: grid;
  place-items: center;
  padding: max(32px, env(safe-area-inset-top)) 16px max(48px, env(safe-area-inset-bottom));
}
.seats {
  position: fixed;
  left: 50%;
  bottom: -2px;
  width: max(1100px, 120vw);
  transform: translateX(-50%);
  pointer-events: none;
}
.seats path {
  fill: none;
  stroke: var(--dots);
  stroke-width: 5;
  stroke-linecap: round;
  stroke-dasharray: 0 15;
}

.card {
  position: relative;
  width: 100%;
  max-width: 400px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow);
  padding: clamp(24px, 6vw, 36px);
}
.eyebrow {
  margin: 0;
  font-family: var(--f-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink-3);
}
h1 {
  margin: 14px 0 0;
  font-family: var(--f-display);
  font-weight: 750;
  font-size: clamp(3.4rem, 2.4rem + 4vw, 4.4rem);
  line-height: .9;
  letter-spacing: -.035em;
}
.greek {
  margin: 12px 0 0;
  font-family: var(--f-display);
  font-style: italic;
  font-size: 15.5px;
  line-height: 1.45;
  color: var(--ink-2);
}
.greek span { font-style: normal; font-weight: 600; color: var(--ink); }

.msg {
  margin: 22px 0 0;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 14.5px;
  line-height: 1.45;
  background: var(--accent-soft);
}
.msg.err { background: var(--err-soft); }

form { margin: 24px 0 0; display: grid; gap: 16px; }
label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 6px; }
input {
  display: block;
  width: 100%;
  font: inherit;
  font-size: 16px;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line-2);
  border-radius: 10px;
  padding: 10px 12px;
}
input:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--accent); }
button {
  margin-top: 4px;
  font: inherit;
  font-size: 16px;
  font-weight: 650;
  color: var(--on-accent);
  background: var(--accent);
  border: 0;
  border-radius: 10px;
  padding: 12px 16px;
  cursor: pointer;
}
button:hover { background: var(--accent-ink); }
button:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.fine { margin: 20px 0 0; font-size: 13.5px; line-height: 1.5; color: var(--ink-3); }
