/* Customer portal — signup, login, onboarding, dashboard. Reuses the same
   design tokens as hire.css/DESIGN.md so the portal reads as one continuous
   surface with the landing page. */
@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,500;9..144,600&display=swap');

:root {
  --bg: #F7F4EC;
  --bg-alt: #F0EBDF;
  --card: #FFFFFF;
  --border: #E4DDCB;
  --text: #1F1B16;
  --text-dim: #6B6354;
  --accent: #C2693D;
  --accent-dim: #F1DDD0;
  --accent-dark: #A2532F;
  --ink: #17140F;
  --proof: #3F6B4A;
  --proof-dim: #DEE9E1;
  --soon: #A39E8F;
  --serif: "Fraunces", Georgia, "Iowan Old Style", "Times New Roman", serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1, h2, .logo { font-family: var(--serif); font-weight: 600; color: var(--ink); }

.nav { background: var(--card); border-bottom: 1px solid var(--border); padding: 16px 24px; }
.logo { font-size: 20px; text-decoration: none; color: var(--ink); }

.portal-card {
  max-width: 420px;
  margin: 48px auto;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 32px;
}
.portal-card h2 { font-size: 24px; margin-bottom: 8px; }
.portal-card .lede { color: var(--text-dim); margin-bottom: 24px; }

.field { margin-bottom: 16px; }
.field label { display: block; font-size: 14px; margin-bottom: 6px; color: var(--text-dim); }
.field .hint { font-weight: 400; }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 10px;
  font-size: 15px;
  font-family: inherit;
  background: var(--bg);
  color: var(--text);
}
.field textarea { min-height: 90px; resize: vertical; }
.field input[type="radio"] { width: auto; padding: 0; margin: 3px 10px 0 0; flex-shrink: 0; }
.choice { display: flex; align-items: flex-start; font-size: 14px; color: var(--text); cursor: pointer; line-height: 1.45; }
.choice strong { color: var(--text); }

.btn {
  display: inline-block;
  padding: 12px 20px;
  border-radius: 10px;
  border: none;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  text-align: center;
}
.btn-primary { background: var(--accent); color: #fff; width: 100%; }
.btn-primary:hover { background: var(--accent-dark); }
.btn-secondary { background: var(--bg-alt); color: var(--text); border: 1px solid var(--border); }

.err { color: #A8331F; font-size: 14px; margin-top: 12px; min-height: 1.2em; }
.portal-foot { text-align: center; margin-top: 20px; font-size: 14px; color: var(--text-dim); }
.portal-foot a { color: var(--accent); }
