/* Impetus — plain site styles */

:root {
  --ink: #1d2330;
  --muted: #5b6475;
  --line: #dde1e8;
  --bg: #f7f8fa;
  --card: #ffffff;
  --accent: #1f5fd1;
  --accent-dark: #174ba6;
  --error: #b42318;
}

* {
  box-sizing: border-box;
}

html {
  font-size: 17px;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
}

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

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

.wrap {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */

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

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.brand {
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: -0.01em;
}

.site-header nav a {
  margin-left: 20px;
  color: var(--muted);
  text-decoration: none;
  font-size: 0.95rem;
}

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

/* Main */

main {
  padding: 48px 0 64px;
}

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

h2 {
  font-size: 1.3rem;
  margin: 40px 0 12px;
}

h3 {
  font-size: 1.05rem;
  margin: 28px 0 8px;
}

.lead {
  font-size: 1.15rem;
  color: var(--muted);
  margin: 0 0 32px;
}

.updated {
  color: var(--muted);
  font-size: 0.9rem;
  margin: 0 0 32px;
}

ul {
  padding-left: 22px;
}

li {
  margin-bottom: 6px;
}

/* Sign-up card */

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 28px;
}

.card h2 {
  margin-top: 0;
}

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

input[type="tel"] {
  width: 100%;
  font: inherit;
  padding: 12px 14px;
  border: 1px solid #b9c0cc;
  border-radius: 8px;
  background: #fff;
}

input[type="tel"]:focus {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
  border-color: var(--accent);
}

.hint {
  font-size: 0.88rem;
  color: var(--muted);
  margin: 6px 0 20px;
}

.consent {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--bg);
  margin-bottom: 20px;
}

.consent input[type="checkbox"] {
  width: 20px;
  height: 20px;
  margin: 3px 0 0;
  flex-shrink: 0;
}

.consent label {
  font-size: 0.92rem;
}

button {
  font: inherit;
  font-weight: 600;
  color: #fff;
  background: var(--accent);
  border: 0;
  border-radius: 8px;
  padding: 12px 28px;
  cursor: pointer;
}

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

/* Example texts */

.texts {
  list-style: none;
  padding: 0;
}

.texts li {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 16px;
  margin-bottom: 10px;
  font-size: 0.95rem;
}

/* Callout for the key SMS statements */

.callout {
  border-left: 4px solid var(--accent);
  background: var(--card);
  padding: 14px 18px;
  margin: 16px 0;
}

/* Footer */

.site-footer {
  border-top: 1px solid var(--line);
  background: var(--card);
  padding: 28px 0;
  font-size: 0.9rem;
  color: var(--muted);
}

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

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

@media (max-width: 520px) {
  html {
    font-size: 16px;
  }

  h1 {
    font-size: 1.8rem;
  }

  .card {
    padding: 20px;
  }

  .site-header nav a {
    margin-left: 14px;
  }
}
