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

:root {
  --c-red:    #e53935;
  --c-green:  #43a047;
  --c-yellow: #f9a825;
  --c-bg:     #ffffff;
  --c-text:   #1a1a1a;
  --c-muted:  #757575;
  --c-border: #e0e0e0;
  --c-accent: #1565c0;
  --radius:   12px;
  --shadow:   0 2px 12px rgba(0,0,0,.10);
}

html { font-size: 16px; -webkit-text-size-adjust: 100%; }

body {
  background: var(--c-bg);
  color: var(--c-text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

h1 { font-size: 1.5rem; font-weight: 700; }
h2 { font-size: 1.15rem; font-weight: 600; }

button {
  cursor: pointer;
  touch-action: manipulation;
  border: none;
  border-radius: var(--radius);
  font-size: 1rem;
  font-weight: 600;
  padding: .75rem 1.5rem;
  transition: opacity .15s, transform .1s;
}
button:active { transform: scale(.97); opacity: .85; }

input[type="text"], input[type="number"] {
  font-size: 1rem;
  padding: .7rem .9rem;
  border: 2px solid var(--c-border);
  border-radius: var(--radius);
  width: 100%;
  outline: none;
  transition: border-color .2s;
}
input:focus { border-color: var(--c-accent); }
