/* Base reset + primitives. Component styles live with components (WI000251). */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
  margin: 0;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 14px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

#app {
  height: 100%;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

code {
  font-family: var(--font-mono);
  font-size: 0.92em;
  background: var(--surface-2);
  padding: 1px 5px;
  border-radius: var(--radius-sm);
}

button {
  font: inherit;
  cursor: pointer;
}

/* ---- Foundation placeholder (replaced by the app shell in WI000252) ---- */

.foundation {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.foundation__bar {
  background: var(--brand);
  color: var(--on-brand);
  padding: 12px 18px;
  font-weight: 500;
}

.foundation__body {
  padding: 18px;
  display: grid;
  gap: 18px;
  max-width: 640px;
}

.foundation__body h2 {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  margin: 0 0 6px;
}

.foundation__links {
  display: flex;
  gap: 14px;
}

.foundation__themes {
  display: flex;
  gap: 8px;
}

.foundation__themes button {
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  padding: 6px 14px;
}

.foundation__themes button.is-active {
  background: var(--brand);
  color: var(--on-brand);
  border-color: var(--brand);
}
