/* D-HR · Theme: colours, fonts and base text. Change brand colours or text size HERE. */
:root {
  --bg: #f4f2f9;
  --card: #ffffff;
  --card2: #faf9fd;
  --line: #e7e3f0;
  --text: #140d20;
  --muted: #544c66;
  --label: #3f3752;
  --ink: #1e1130;
  --ink2: #3a2160;
  --plum: #5a3482;
  --mint: #2fcb8c;
  --mint2: #1b8f62;
  --mintbg: #e2f8ee;
  --red: #d2453b;
  --redbg: #fce9e7;
  --amber: #b7791f;
  --amberbg: #fbf1dd;
  --blue: #4f5bd5;
  --bluebg: #e9ebfb;
  --chip: #efebf6;
  --shadow: 0 10px 30px rgba(30, 17, 48, 0.1);
  --shadow2: 0 18px 44px rgba(30, 17, 48, 0.18);
  --display: 'Bricolage Grotesque', ui-sans-serif, system-ui, sans-serif;
  --body: 'Figtree', ui-sans-serif, system-ui, 'Segoe UI', sans-serif;
  --tabh: 68px;
  --safe-b: env(safe-area-inset-bottom, 0px);
  --safe-t: env(safe-area-inset-top, 0px);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) {
    --bg: #0e0917;
    --card: #191126;
    --card2: #150e21;
    --line: #2b2140;
    --text: #f1edf8;
    --muted: #b4acc6;
    --label: #d6cfe4;
    --ink: #f1edf8;
    --ink2: #d9ccf0;
    --mintbg: #123326;
    --redbg: #3a1715;
    --amberbg: #3a2c12;
    --bluebg: #1c1f45;
    --chip: #241935;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
    --shadow2: 0 18px 44px rgba(0, 0, 0, 0.5);
    color-scheme: dark;
  }
}
:root[data-theme='dark'] {
  --bg: #0e0917;
  --card: #191126;
  --card2: #150e21;
  --line: #2b2140;
  --text: #f1edf8;
  --muted: #b4acc6;
  --label: #d6cfe4;
  --ink: #f1edf8;
  --ink2: #d9ccf0;
  --mintbg: #123326;
  --redbg: #3a1715;
  --amberbg: #3a2c12;
  --bluebg: #1c1f45;
  --chip: #241935;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  --shadow2: 0 18px 44px rgba(0, 0, 0, 0.5);
  color-scheme: dark;
}

* {
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}
html,
body {
  margin: 0;
  min-height: 100%;
}
body {
  background: var(--bg);
  color: var(--text);
  font: 16px/1.5 var(--body);
  -webkit-font-smoothing: antialiased;
  overscroll-behavior-y: none;
}
button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}
button {
  cursor: pointer;
}
[hidden] {
  display: none !important;
}
:focus-visible {
  outline: 2.5px solid var(--mint);
  outline-offset: 2px;
}
h1,
h2,
h3 {
  font-family: var(--display);
  margin: 0;
  letter-spacing: -0.01em;
}
