/* Home Improvements Australia's look for its copy of the app (THEME=hia): the HIA website's
   teal, ink and Plus Jakarta Sans, on the same layout. Only tokens and a few touches change,
   so every page keeps working as it does in the US copy. */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap');

:root {
  --bg: #f3fbfa; --panel: #ffffff; --ink: #17302e; --text: #2c4442; --muted: #4f6866; --line: #dcedea;
  --field: #7a908e; /* 3:1 against white, so a field's edge is visible */
  --brand: #0b7a76; --brand-hover: #08625f; --brand-ink: #ffffff;
  --good: #0b7a50; --warn: #a14a06; --bad: #b42318;
  --good-bg: #e8f6ef; --warn-bg: #fff6e5; --bad-bg: #fdecea; --chip: #e9f8f6; --chip-line: #b9e3dd;
  /* Shadows carry the teal-ink hue, like the website's. */
  --shadow: 0 1px 2px rgba(15, 61, 58, .05), 0 12px 28px -18px rgba(15, 61, 58, .22);
  --radius: 14px;
  --ease: cubic-bezier(.16, 1, .3, 1);
}

body { font-family: 'Plus Jakarta Sans', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif; }
h1 { font-size: 24px; letter-spacing: -.015em; text-wrap: balance; }
h2 { letter-spacing: -.005em; }
.stat b { letter-spacing: -.02em; }

nav .logo { display: flex; align-items: center; gap: 10px; line-height: 1.25; }
nav .logo::before { content: ''; flex: none; width: 30px; height: 30px; background: url('/themes/hia/logo-mark.svg') center / contain no-repeat; }
.login h1 { display: flex; align-items: center; gap: 12px; }
.login h1::before { content: ''; flex: none; width: 40px; height: 40px; background: url('/themes/hia/logo-mark.svg') center / contain no-repeat; }

/* Inner pieces a little tighter than their cards. */
button.btn, .btn, input, textarea, select { border-radius: 10px; }
.mail, .step, .needs .todo, .brain, .draft { border-radius: 10px; }

/* Quiet, quick feedback: colour eases, a press gives a little. */
.btn, nav button { transition: background-color .16s var(--ease), border-color .16s var(--ease), color .16s var(--ease), transform .12s var(--ease); }
.btn:active:not(:disabled) { transform: scale(.98); }
input, textarea, select { transition: border-color .16s var(--ease), box-shadow .16s var(--ease); }
input:focus, textarea:focus, select:focus { border-color: var(--brand); box-shadow: 0 0 0 3px var(--chip); }
@media (prefers-reduced-motion: reduce) {
  .btn, nav button, input, textarea, select { transition: none; }
  .btn:active:not(:disabled) { transform: none; }
}
