/* Styles for the static marketing pages. Kept small and separate so these pages load without the
   application bundle. The application itself is styled with Tailwind; this is not used there. */

:root {
  --ink: #0f172a;
  --muted: #475569;
  --brand: #065f46;
  --brand-soft: #ecfdf5;
  --line: #e2e8f0;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--ink);
  background: #f8fafc;
  line-height: 1.65;
}

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

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

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

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

.logo {
  font-weight: 800;
  letter-spacing: -0.02em;
  font-size: 18px;
  color: var(--brand);
  text-decoration: none;
}

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

nav.site a:hover {
  color: var(--brand);
  text-decoration: underline;
}

main {
  padding: 40px 0 24px;
}

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

h2 {
  font-size: 22px;
  margin: 34px 0 10px;
  letter-spacing: -0.01em;
}

h3 {
  font-size: 17px;
  margin: 20px 0 6px;
}

p,
li {
  color: var(--muted);
  font-size: 16px;
}

ul {
  padding-left: 20px;
}

.lede {
  font-size: 18px;
  color: var(--ink);
}

.cta {
  display: inline-block;
  margin: 22px 10px 22px 0;
  padding: 12px 20px;
  border-radius: 10px;
  background: var(--brand);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
}

.cta.secondary {
  background: #fff;
  color: var(--brand);
  border: 1px solid var(--brand);
}

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px 20px;
  margin: 18px 0;
}

dl.faq dt {
  font-weight: 600;
  color: var(--ink);
  margin-top: 16px;
}

dl.faq dd {
  margin: 4px 0 0;
  color: var(--muted);
}

footer.site {
  border-top: 1px solid var(--line);
  margin-top: 40px;
  background: #fff;
  padding: 24px 0;
}

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

.crumbs {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 14px;
}

@media (max-width: 640px) {
  h1 {
    font-size: 27px;
  }
  main {
    padding: 26px 0 16px;
  }
}
