/* ================================
   Base / Reset
================================ */
* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: #ffffff;
  color: #0f172a;
  line-height: 1.6;
}

/* ================================
   Layout
================================ */
body {
  max-width: 960px;
  margin: 0 auto;
  padding: 24px 16px 60px;
}

h1 {
  font-size: 2rem;
  margin-bottom: 0.25em;
}

p {
  color: #475569;
  margin-top: 0;
}

/* ================================
   Links
================================ */
a {
  color: #2563eb;
  text-decoration: none;
  font-weight: 500;
}

a:hover {
  text-decoration: underline;
}

/* ================================
   Lists (homepage)
================================ */
ul {
  padding-left: 20px;
}

li {
  margin: 8px 0;
}

/* ================================
   Cards / Sections
================================ */
section {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 20px;
  margin-top: 24px;
}

/* ================================
   Form Elements
================================ */
label {
  display: block;
  margin-top: 14px;
  font-weight: 500;
}

input {
  width: 100%;
  max-width: 320px;
  padding: 10px 12px;
  margin-top: 6px;
  border-radius: 8px;
  border: 1px solid #cbd5f5;
  font-size: 1rem;
}

input:focus {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

/* ================================
   Buttons
================================ */
button {
  margin-top: 18px;
  padding: 10px 16px;
  font-size: 1rem;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  background: #2563eb;
  color: white;
}

button:hover {
  background: #1e40af;
}

/* ================================
   Output
================================ */
p span {
  font-weight: 600;
  color: #0f172a;
}

/* ================================
   Responsive
================================ */
@media (max-width: 600px) {
  body {
    padding: 16px 12px 48px;
  }

  input {
    max-width: 100%;
  }
}
