/* Basis: Reset, Layout, Responsive */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--primary-3);
  background: #fff;
}

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

a {
  color: var(--primary-1);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

@media (min-width: 768px) {
  .container { padding-left: 1.5rem; padding-right: 1.5rem; }
}

section {
  padding: 2.5rem 0;
}

@media (min-width: 768px) {
  section { padding: 3.5rem 0; }
}

h1, h2, h3 {
  font-weight: 700;
  line-height: 1.2;
  margin-top: 0;
}
h1 { font-size: 1.75rem; }
h2 { font-size: 1.5rem; }
@media (min-width: 768px) {
  h1 { font-size: 2.25rem; }
  h2 { font-size: 1.75rem; }
}

.btn {
  display: inline-block;
  padding: 0.6rem 1.25rem;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 600;
  text-align: center;
  border: none;
  border-radius: 0.25rem;
  cursor: pointer;
  transition: opacity 0.2s;
}
.btn:hover { opacity: 0.9; }
.btn-primary-1 { background: var(--primary-1); color: #fff; }
.btn-primary-2 { background: var(--primary-2); color: #fff; }
.btn-primary-3 { background: var(--primary-3); color: #fff; }

input, textarea, select {
  font-family: var(--font-sans);
  font-size: 1rem;
}
label { display: block; margin-bottom: 0.25rem; font-weight: 600; }
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="url"],
textarea {
  width: 100%;
  max-width: 100%;
  padding: 0.5rem 0.75rem;
  border: 1px solid #ccc;
  border-radius: 0.25rem;
}
textarea { min-height: 6rem; resize: vertical; }

.form-group { margin-bottom: 1rem; }
