:root {
  --ink: #16202b;
  --ink-soft: #4a5562;
  --page: #ffffff;
  --band: #f2f4f6;
  --line: #d9dee3;
  --brand: #1d3557;
  --call: #c2410c;
  --call-hover: #9a3412;
  --call-text: #ffffff;
  --draft: #fde68a;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  /* room for the fixed call bar on phones */
  padding-bottom: 72px;
  background: var(--page);
  color: var(--ink);
  font: 17px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

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

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

/* Orange on navy is only 2.4:1, so the header and footer use a white focus ring. */
.site-header a:focus-visible,
.site-footer a:focus-visible {
  outline-color: #ffffff;
}

h1,
h2,
h3 {
  line-height: 1.25;
}

h1 {
  font-size: 1.9rem;
  margin: 0 0 12px;
}

h2 {
  font-size: 1.35rem;
  margin: 32px 0 12px;
}

.container {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 16px;
}

.section {
  padding-top: 8px;
  padding-bottom: 24px;
}

.lead {
  color: var(--ink-soft);
  font-size: 1.1rem;
}

.draft-banner {
  padding: 8px 16px;
  background: var(--draft);
  font-weight: 600;
  text-align: center;
}

/* Header */

.site-header {
  background: var(--brand);
  color: #ffffff;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 56px;
}

.site-name {
  color: #ffffff;
  font-weight: 700;
  text-decoration: none;
}

.header-phone {
  display: none;
  color: #ffffff;
  font-weight: 700;
  text-decoration: none;
}

/* Call button */

.call-button {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: center;
  gap: 4px 8px;
  min-height: 48px;
  padding: 12px 22px;
  border-radius: 8px;
  background: var(--call);
  color: var(--call-text);
  font-size: 1.1rem;
  font-weight: 700;
  text-decoration: none;
}

.call-button:hover,
.call-button:active {
  background: var(--call-hover);
}

.call-number {
  font-weight: 600;
  white-space: nowrap;
}

.mobile-call-bar {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 10px 16px;
  border-top: 1px solid var(--line);
  background: var(--page);
}

.mobile-call-bar .call-button {
  width: 100%;
}

/* Home */

.hero {
  padding: 32px 0 24px;
  background: var(--band);
}

.hero-note {
  margin-bottom: 0;
  color: var(--ink-soft);
}

.steps {
  padding-left: 20px;
}

.steps li {
  margin-bottom: 8px;
}

.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0;
  list-style: none;
}

.pill-list a {
  display: inline-block;
  padding: 10px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  text-decoration: none;
}

/* Cards */

.card-grid {
  display: grid;
  gap: 12px;
  padding: 0;
  list-style: none;
}

.card {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.card h3 {
  margin: 0 0 6px;
  font-size: 1.1rem;
}

.card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.bullet-list {
  padding-left: 20px;
}

/* Sources */

.sources {
  margin-top: 32px;
  padding-top: 8px;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.sources h2 {
  margin: 8px 0 4px;
  font-size: 1rem;
}

.sources ul {
  margin: 0;
  padding-left: 20px;
}

.sources li {
  padding: 2px 0;
}

/* Breadcrumbs */

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin: 16px 0 0;
  padding: 0;
  color: var(--ink-soft);
  font-size: 0.9rem;
  list-style: none;
}

.breadcrumbs li + li::before {
  content: "›";
  margin-right: 4px;
}

/* FAQ */

.faq-list details {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  padding: 12px 0;
  font-weight: 600;
  cursor: pointer;
}

.faq-list details p {
  margin-top: 0;
}

/* Call section and form */

.call-section {
  margin-top: 16px;
  padding: 24px 0 32px;
  background: var(--band);
}

.call-section h2 {
  margin-top: 0;
}

.lead-form {
  display: grid;
  gap: 12px;
  max-width: 480px;
  margin-top: 24px;
}

.lead-form label {
  display: grid;
  gap: 4px;
  font-weight: 600;
}

.lead-form input,
.lead-form textarea {
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  font: inherit;
}

.lead-form button {
  justify-self: start;
  min-height: 48px;
  padding: 10px 22px;
  border: 0;
  border-radius: 8px;
  background: var(--brand);
  color: #ffffff;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

/* Footer */

.site-footer {
  margin-top: 32px;
  padding: 24px 0;
  background: var(--brand);
  color: #e6ebf0;
  font-size: 0.95rem;
}

.site-footer a {
  color: #ffffff;
}

.footer-grid {
  display: grid;
  gap: 16px;
}

.footer-heading {
  margin: 0 0 6px;
  font-size: 1rem;
}

.site-footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer li a {
  display: inline-block;
  padding: 10px 0;
}

.footer-note {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgb(255 255 255 / 20%);
}

@media (min-width: 640px) {
  .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  h1 {
    font-size: 2.4rem;
  }
}

/* On wider screens the phone number lives in the header and hero instead of a fixed bar. */
@media (min-width: 900px) {
  body {
    padding-bottom: 0;
  }

  .mobile-call-bar {
    display: none;
  }

  .header-phone {
    display: inline;
  }

  .card-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .hero {
    padding: 56px 0 40px;
  }
}

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