/* Rob Claw portal styles, shared by the sign-in, setup, and app pages.
   Matches the Noma Labs product rollout deck: Playfair Display headings, Instrument Sans text,
   a deep navy app window, and soft lavender cards. */
:root {
  --bg: #FBFAFF; --surface: #FFFFFF; --soft: #EEEDFE; --soft2: #E4E2F7;
  --text: #1E1B4B; --muted: #4B4B6B; --faint: #9998B3; --line: #DCDAF2;
  --accent: #5B50D6; --accent-hover: #4F46E5; --accent-ink: #FBFAFF;
  --deep: #1E1B4B; --deep-text: #EEEDFE; --deep-muted: #C9C6F2; --deep-soft: #2A2660;
  --deep-line: #3A357A; --deep-pick: #332E78; --deep-hint: #A9A5DA; --deep-accent: #9A92F5;
  --ok: #2C7A57; --ok-soft: #DDF1E7; --warn: #9A5410; --warn-soft: #FBE9D4; --danger: #B4235A;
  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "Instrument Sans", "Helvetica Neue", Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html, body { height: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 16px/1.55 var(--sans); -webkit-font-smoothing: antialiased; }
button { font: inherit; color: inherit; }
a { color: var(--accent); }
[hidden] { display: none !important; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; border: 0; border-radius: 999px;
  padding: 12px 22px; font: 600 15px/1 var(--sans); cursor: pointer; text-decoration: none; white-space: nowrap; }
.btn.primary { background: var(--accent); color: var(--accent-ink); }
.btn.primary:hover { background: var(--accent-hover); }
.btn.quiet { background: var(--soft); color: var(--text); }
.btn.quiet:hover { background: var(--soft2); }
.btn.line { background: var(--surface); color: var(--text); border: 1px solid var(--line); }
.btn.line:hover { border-color: var(--accent); }
.btn:disabled { opacity: .5; cursor: default; }
.btn svg { width: 18px; height: 18px; flex: none; }

/* Top bar */
.nav { position: sticky; top: 0; z-index: 5; background: color-mix(in srgb, var(--bg) 90%, transparent);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.nav .in { display: flex; align-items: center; gap: 14px; height: 60px; max-width: 1240px; margin: 0 auto; padding: 0 20px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); }
.brand img { width: 30px; height: 30px; border-radius: 8px; }
.brand b { font: 700 21px/1 var(--serif); letter-spacing: -.01em; }
.chip { display: inline-block; background: var(--soft); color: var(--accent); border-radius: 999px; padding: 4px 10px;
  font-size: 12px; font-weight: 600; }
.nav .links { margin-left: auto; display: flex; align-items: center; gap: 2px; }
.nav .links a, .nav .links button { color: var(--muted); background: none; border: 0; text-decoration: none; font-size: 14px;
  font-weight: 500; padding: 8px 12px; border-radius: 999px; cursor: pointer; }
.nav .links a:hover, .nav .links button:hover { background: var(--soft); color: var(--text); }

/* Small print */
.fine { font-size: 13px; color: var(--muted); }
.fine a { color: var(--muted); }

@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }
.brand b, .nav .links a, .nav .links button { white-space: nowrap; }
@media (max-width: 640px) {
  .nav .chip, .nav .long { display: none; }
  .nav .in { padding: 0 12px; gap: 8px; }
  .nav .links a, .nav .links button { padding: 8px 8px; font-size: 13.5px; }
  .brand b { font-size: 19px; }
}
