/* Shared look for CARL's sign-in and invite pages: the house style, a
   mid-century engineering office. Paper, ink and brass. */
@import url("https://fonts.googleapis.com/css2?family=Bodoni+Moda:opsz,wght@6..96,500;6..96,700&family=Courier+Prime&family=Libre+Franklin:wght@400;500;600&display=swap");
:root { --navy: #1E2A3A; --brass: #8C6B2A; --ink: #22262E; --muted: #6B6150; --card: #FBF6EA; --bg: #F3EBD8; --deep: #E9E0CC; --line: #CDBF9F; --stop: #8A2A22;
  --serif: "Bodoni Moda", Didot, "Bodoni 72", Georgia, serif; --sans: "Libre Franklin", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif; }
* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body { min-height: 100vh; display: flex; flex-direction: column; background: var(--deep); color: var(--navy); font: 17px/1.5 var(--sans); -webkit-font-smoothing: antialiased; }
.top { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: calc(40px + env(safe-area-inset-top)) 24px 28px; text-align: center; }
.mark { font: 700 3.2rem/1 var(--serif); letter-spacing: .3em; margin-left: .3em; color: var(--navy); }
.rule { width: 120px; height: 0; border-top: 3px double var(--brass); margin: 18px auto; }
.tag { font-size: .62rem; letter-spacing: .2em; text-transform: uppercase; color: var(--brass); }
.panel { background: var(--bg); color: var(--ink); border-top: 3px double var(--navy); padding: 28px 24px calc(28px + env(safe-area-inset-bottom)); }
.panel h1 { margin: 0 0 6px; font: 700 1.45rem var(--serif); color: var(--navy); }
.panel p { margin: 0 0 18px; color: var(--muted); font-size: .95rem; }
.go { width: 100%; min-height: 54px; border: 1px solid var(--navy); border-radius: 0; background: var(--navy); color: var(--bg); font: 500 .82rem var(--sans); letter-spacing: .2em; text-transform: uppercase;
  display: flex; align-items: center; justify-content: center; gap: 10px; cursor: pointer; outline: 1px solid var(--brass); outline-offset: 2px; }
.go svg { width: 24px; height: 24px; }
.go:disabled { opacity: .6; }
.msg { min-height: 1.4em; margin-top: 12px; font-size: .9rem; color: var(--muted); }
.msg.err { color: var(--stop); }
.fine { margin-top: 16px; font-size: .8rem; color: var(--muted); }
.fine a { color: var(--navy); }
@media (min-width: 700px) and (max-width: 899px) { body { align-items: center; justify-content: center; } .top { flex: none; } .panel { width: 440px; border: 1px solid var(--line); border-top: 3px double var(--navy); margin-bottom: 40px; } }
/* Laptop: the title page on the left, the form on the right. */
@media (min-width: 900px) {
  body { flex-direction: row; }
  .top { flex: 1; padding: 48px; }
  .mark { font-size: 4.4rem; }
  .top::after { content: "Field compliance checks, grounded in your own library of governing criteria."; max-width: 340px; margin-top: 22px; color: var(--muted); font: italic 1.05rem/1.5 var(--serif); }
  .panel { flex: 1; display: flex; flex-direction: column; justify-content: center; border-top: 0; border-left: 3px double var(--navy); overflow-y: auto;
    padding: 48px max(48px, calc((50vw - 440px) / 2)); }
}
.go.alt { background: transparent; color: var(--navy); outline: 0; text-decoration: none; text-align: center; font-size: .74rem; letter-spacing: .08em; padding: 0 10px; }
