/* =========================
   CSS Reset / Base
   ========================= */

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

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

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: #111;
  background-color: #fff;
}

/* =========================
   Layout
   ========================= */

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 1rem;
}

/* =========================
   Typography
   ========================= */

h1,
h2,
h3,
h4,
h5,
h6 {
  line-height: 1.25;
  margin: 0 0 0.5em;
  font-weight: 600;
}

p {
  margin: 0 0 1em;
}

a {
  color: #0066cc;
  text-decoration: none;
}

a:hover,
a:focus {
  text-decoration: underline;
}

/* =========================
   Images
   ========================= */

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* =========================
   Buttons
   ========================= */

button,
.button {
  display: inline-block;
  padding: 0.6rem 1rem;
  font-size: 1rem;
  border-radius: 6px;
  border: 1px solid #ccc;
  background: #f5f5f5;
  cursor: pointer;
}

button:hover,
.button:hover {
  background: #eaeaea;
}

/* =========================
   Simple Responsive Helpers
   ========================= */

@media (min-width: 768px) {
  body {
    font-size: 17px;
  }

  .container {
    padding: 2rem;
  }
}