/* Metrecx dev2: tokens for the registration chat. Same feel as the rest of
   dev2 (app/dev2.css in the metrecx-web dev2 worktree): Lato, white pages,
   dark slate text, Metrecx gold as the one bright accent. */

:root {
  --navy: #23476B;
  --navy-deep: #17324D;
  --ink: #2B3440;
  --teal: #0D88B0;
  --teal-dark: #0A6E8F;
  --gold: #EFB82F;
  --gold-dark: #B88A15;
  --gold-soft: #FDF4E0;
  --paper: #FFFFFF;
  --card: #FFFFFF;
  --body: #4A5260;
  --muted: #737B87;
  --line: #E6E8EC;
  --line-strong: #CBD0D7;
  --error: #B42318;
  --ok: #18794E;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 1px 2px rgba(15, 34, 55, .05), 0 8px 24px -10px rgba(15, 34, 55, .18);
  --shadow-lg: 0 20px 48px -18px rgba(15, 34, 55, .32);
  --sans: "Lato", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --serif: "Lato", -apple-system, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--body);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--teal-dark); text-underline-offset: 2px; }
a:hover { color: var(--navy); }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 2px; border-radius: 6px; }
h1, h2, h3 { color: var(--ink); margin: 0 0 .5em; line-height: 1.15; letter-spacing: 0; font-weight: 700; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 52px; padding: 0 1.6rem;
  border: 0; border-radius: 999px;
  font: 700 1.02rem/1 var(--sans);
  cursor: pointer; text-decoration: none;
  transition: transform .12s ease, background .15s ease, box-shadow .15s ease;
}
.btn:active { transform: translateY(1px) scale(.99); }
.btn-gold { background: var(--gold); color: var(--ink); box-shadow: 0 6px 16px -8px rgba(184, 138, 21, .7); }
.btn-gold:hover { background: #F4C445; color: var(--ink); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-deep); color: #fff; }
.btn-ghost { background: transparent; color: var(--navy); box-shadow: inset 0 0 0 1.5px var(--line-strong); }
.btn-ghost:hover { box-shadow: inset 0 0 0 1.5px var(--navy); color: var(--navy); }
.btn[disabled] { opacity: .55; cursor: not-allowed; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* The assistant's mark: a gold tile with a navy roofline. */
.avatar {
  flex: none; width: 40px; height: 40px; border-radius: 13px;
  background: var(--gold); display: grid; place-items: center;
  box-shadow: 0 4px 12px -6px rgba(184, 138, 21, .8);
}
.avatar svg { width: 24px; height: 24px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
