@import url('design-tokens.css');

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

html, body {
  height: 100%;
  width: 100%;
  overflow: hidden;
  background: var(--bmw-canvas);
  color: var(--bmw-text-primary);
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-weight: var(--weight-body);
  font-size: var(--font-body-md);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: var(--weight-display);
  line-height: 1.05;
  letter-spacing: 0;
  text-transform: uppercase;
}

button {
  font-family: inherit;
  font-size: var(--font-button);
  font-weight: var(--weight-display);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border: 1px solid var(--bmw-text-primary);
  background: transparent;
  color: var(--bmw-text-primary);
  padding: var(--spacing-md) var(--spacing-xl);
  height: 48px;
  border-radius: var(--radius-none);
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}

button:hover {
  background: var(--bmw-text-primary);
  color: var(--bmw-canvas);
}

button:active {
  background: var(--bmw-text-muted);
}

input, select, textarea {
  font-family: inherit;
  font-size: var(--font-body-md);
  font-weight: var(--weight-body);
  background: var(--bmw-surface-card);
  color: var(--bmw-text-primary);
  border: 1px solid var(--bmw-hairline);
  border-radius: var(--radius-none);
  padding: var(--spacing-sm) var(--spacing-md);
  height: 48px;
  outline: none;
  transition: border-color 0.15s;
}

input:focus, select:focus, textarea:focus {
  border-color: var(--bmw-text-primary);
}

::placeholder {
  color: var(--bmw-text-muted);
}

a {
  color: var(--bmw-text-primary);
  text-decoration: none;
  font-weight: var(--weight-display);
  font-size: var(--font-caption);
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

#app {
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
}

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