:root {
  --bg: #0f172a;
  --surface: #111827;
  --text: #e5e7eb;
  --muted: #9ca3af;
  --primary: #2563eb;
  --primary-contrast: #ffffff;
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
}
.container {
  max-width: 960px;
  margin: 0 auto;
  padding: 1.25rem;
}
.site-header, .site-footer {
  background: var(--surface);
}
.site-header .container, .site-footer .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
nav a {
  color: var(--muted);
  margin-left: 1rem;
  text-decoration: none;
}
nav a[aria-current="page"] { color: var(--text); font-weight: 600; }

.hero { margin: 2rem 0; }
.hero h2 { margin: 0 0 0.5rem; }
.hero p { color: var(--muted); margin: 0 0 1rem; }
.primary {
  background: var(--primary);
  color: var(--primary-contrast);
  border: none;
  padding: 0.6rem 1rem;
  border-radius: 0.4rem;
  cursor: pointer;
}
.primary:hover { filter: brightness(1.1); }

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1rem;
}
.card {
  background: var(--surface);
  border: 1px solid rgba(255,255,255,0.08);
  padding: 1rem;
  border-radius: 0.5rem;
}
.card h3 { margin: 0 0 0.25rem; }
.card p { margin: 0; color: var(--muted); }

/* FAQ desktop divider fix */
@media (min-width: 992px) {
  /* Hide Squarespace HR blocks in the FAQ area and replace with an underline */
  .sqs-block.horizontalrule-block.sqs-block-horizontalrule hr {
    display: none;
  }

  /* Apply underline to question headings (strong inside HTML blocks) */
  .sqs-block-html .sqs-html-content p > strong {
    position: relative;
    display: inline-block;
    padding-bottom: 6px;
  }
  .sqs-block-html .sqs-html-content p > strong::after {
    content: "";
    display: block;
    width: 160px;           /* divider length */
    height: 4px;            /* divider thickness */
    background: #f5c045;    /* warm yellow */
    margin-top: 10px;
  }
}

/* Restore full-width layout (override our earlier container rule) */
body .container {
  max-width: none !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Footer legal lines */
.footer-legal {
  text-align: center;
  padding: 12px 16px;
}
.footer-legal .footer-line {
  white-space: nowrap;
  margin: 4px 0;
  color: #ffffff;
}
.footer-legal .footer-line a { color: #ffffff; text-decoration: underline; }

/* Work Together form section */
.work-together {
  padding: 24px 16px;
}
.form-container {
  max-width: 960px;
  margin: 0 auto;
}
.work-together h2 {
  margin: 0 0 12px;
}

/* Footer spacing reduction */
#footer-sections {
  padding-top: 8px !important;
  padding-bottom: 8px !important;
}
.footer-legal {
  padding: 6px 12px !important;
}
.footer-legal .footer-line {
  margin: 2px 0 !important;
  line-height: 1.25;
}
#block-eca99bdf148f6c762d87 .sqs-block-content {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  margin: 0 !important;
}