/* Caseload Marketing - caseloadmarketing.io */

:root {
  --bg: #ffffff;
  --text: #1a1f2b;
  --muted: #5a6272;
  --line: #e3e6ec;
  --soft: #f6f8fb;
  --accent: #2f6fb3;
  --accent-dark: #245a93;
  --focus: #9cc3ec;
  --radius: 8px;
  --max: 720px;
}

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

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  overflow-wrap: break-word;
}

a {
  color: var(--accent);
}

a:hover {
  color: var(--accent-dark);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
}

.skip-link:focus {
  left: 16px;
  top: 8px;
  background: var(--bg);
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  z-index: 10;
}

.wrap {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 16px;
}

/* Header */

.site-header {
  border-bottom: 1px solid var(--line);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 16px;
  padding-top: 16px;
  padding-bottom: 16px;
}

.wordmark {
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.01em;
  color: var(--text);
  text-decoration: none;
}

.wordmark:hover {
  color: var(--text);
}

.site-nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 15px;
  margin-left: 16px;
}

.site-nav a:first-child {
  margin-left: 0;
}

.site-nav a:hover {
  color: var(--accent);
}

/* Main */

main {
  padding: 32px 0 48px;
}

h1 {
  font-size: 30px;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 0 0 16px;
}

h2 {
  font-size: 21px;
  line-height: 1.3;
  margin: 32px 0 8px;
}

h3 {
  font-size: 17px;
  margin: 24px 0 8px;
}

p,
ul {
  margin: 0 0 16px;
}

ul {
  padding-left: 22px;
}

li {
  margin-bottom: 6px;
}

.lead {
  font-size: 18px;
  color: var(--muted);
}

.meta {
  color: var(--muted);
  font-size: 15px;
}

/* Form */

.form-card {
  margin-top: 32px;
  padding: 20px 16px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.form-card h2 {
  margin-top: 0;
}

.row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0 16px;
}

.field {
  margin-bottom: 16px;
}

.field label {
  display: block;
  font-weight: 600;
  font-size: 15px;
  margin-bottom: 6px;
}

.field .hint {
  font-weight: 400;
  color: var(--muted);
}

input[type="text"],
input[type="email"],
input[type="tel"],
textarea {
  display: block;
  width: 100%;
  font: inherit;
  font-size: 16px;
  color: var(--text);
  background: var(--bg);
  border: 1px solid #c8cdd6;
  border-radius: 6px;
  padding: 10px 12px;
}

textarea {
  min-height: 110px;
  resize: vertical;
}

.consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 16px;
  font-size: 14px;
  line-height: 1.5;
}

.consent input[type="checkbox"] {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  accent-color: var(--accent);
}

.consent label {
  font-weight: 400;
}

.hidden {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

button {
  font: inherit;
  font-weight: 600;
  font-size: 16px;
  color: #ffffff;
  background: var(--accent);
  border: 0;
  border-radius: 6px;
  padding: 12px 22px;
  cursor: pointer;
  width: 100%;
}

button:hover {
  background: var(--accent-dark);
}

.form-note {
  margin: 12px 0 0;
  font-size: 14px;
  color: var(--muted);
}

/* Footer */

.site-footer {
  border-top: 1px solid var(--line);
  padding: 24px 0 32px;
  font-size: 14px;
  color: var(--muted);
}

.site-footer p {
  margin: 0 0 6px;
}

.site-footer a {
  color: var(--muted);
}

.site-footer a:hover {
  color: var(--accent);
}

@media (min-width: 600px) {
  h1 {
    font-size: 36px;
  }

  main {
    padding-top: 48px;
  }

  .form-card {
    padding: 28px;
  }

  .row {
    grid-template-columns: 1fr 1fr;
  }

  button {
    width: auto;
  }
}
