:root {
  --bg: #f4f0ea;
  --accent: #e11d74;
}

* { -webkit-tap-highlight-color: transparent; box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  min-height: 100vh;
  font-family: 'Space Grotesk', sans-serif;
  background: var(--bg);
  transition: background .3s ease;
}

.brand {
  font-family: 'Space Grotesk', sans-serif;
  letter-spacing: -0.03em;
  background: linear-gradient(120deg, var(--accent), var(--accent2, #ff5c9d));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.mono { font-family: 'JetBrains Mono', monospace; font-variant-numeric: tabular-nums; }

.theme-toggle { cursor: pointer; transition: background .3s ease; }

.calc-key {
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
}
.calc-key:hover { filter: brightness(1.06); }
.calc-key:active { filter: brightness(0.95); }
.calc-key:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
}

/* prevent iOS zoom / scroll bounce feel */
body { overscroll-behavior: none; }

a:hover { opacity: 0.8; }