/* Content pages — each URL has its own HTML file and unique content */
.site-page {
  max-width: 44rem;
  margin: 0 auto;
  padding: 1.5rem 1.25rem 3rem;
  font-family: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: #2c2825;
  background: #f6f3ee;
  min-height: 100vh;
}

.site-page-header {
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #e2dcd2;
}

.site-page-brand {
  font-size: 1.125rem;
  font-weight: 700;
  color: #084848;
  text-decoration: none;
}

.site-page-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  margin-top: 0.75rem;
  font-size: 0.875rem;
}

.site-page-nav a {
  color: #0d5c5c;
  font-weight: 600;
  text-decoration: none;
}

.site-page-nav a:hover {
  text-decoration: underline;
}

.site-page-nav a[aria-current="page"] {
  color: #2c2825;
  text-decoration: underline;
  background: #e8f4f4;
  padding: 0.15rem 0.45rem;
  border-radius: 6px;
}

.page-badge {
  display: inline-block;
  margin: 0 0 0.5rem;
  padding: 0.25rem 0.65rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #084848;
  background: #e8f4f4;
  border-radius: 6px;
}

.page-badge--terms {
  color: #5c3d2e;
  background: #faf0e8;
}

.page-badge--guide {
  color: #2d5a4a;
  background: #e8f0ec;
}

.site-page h1 {
  font-size: 1.85rem;
  color: #084848;
  margin: 0 0 0.5rem;
  line-height: 1.2;
}

.site-page h2 {
  font-size: 1.125rem;
  color: #084848;
  margin: 1.75rem 0 0.5rem;
}

.site-page h3 {
  font-size: 1rem;
  color: #2c2825;
  margin: 1.25rem 0 0.35rem;
}

.page-lead {
  font-size: 1.05rem;
  color: #4a4540;
  margin: 0 0 1.25rem;
  padding: 0.85rem 1rem;
  background: #fffcf8;
  border-left: 4px solid #0d5c5c;
  border-radius: 0 8px 8px 0;
}

.site-page[data-page="terms"] .page-lead {
  border-left-color: #b8734a;
}

.site-page[data-page="how-it-works"] .page-lead {
  border-left-color: #2d7a4f;
}

.site-page p,
.site-page li {
  color: #2c2825;
}

.site-page .muted {
  color: #6b6560;
  font-size: 0.9375rem;
  margin-bottom: 1rem;
}

.site-page ul,
.site-page ol {
  padding-left: 1.35rem;
  margin: 0 0 1rem;
}

.site-page a {
  color: #0d5c5c;
  font-weight: 500;
}

.site-page code {
  font-family: ui-monospace, monospace;
  font-size: 0.9em;
  background: #f0ebe3;
  padding: 0.1em 0.35em;
  border-radius: 4px;
}

.guide-table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 1.25rem;
  font-size: 0.9375rem;
  background: #fffcf8;
  border: 1px solid #e2dcd2;
  border-radius: 8px;
  overflow: hidden;
}

.guide-table th,
.guide-table td {
  padding: 0.6rem 0.75rem;
  text-align: left;
  border-bottom: 1px solid #e2dcd2;
  vertical-align: top;
}

.guide-table th {
  background: #f0ebe3;
  font-weight: 600;
  color: #084848;
}

.guide-table tr:last-child td {
  border-bottom: none;
}

.page-related {
  margin-top: 1.5rem;
  font-size: 0.9375rem;
  color: #6b6560;
}

.site-page-tool-cta {
  display: inline-block;
  margin-top: 1.25rem;
  padding: 0.7rem 1.15rem;
  background: #0d5c5c;
  color: #fff !important;
  font-weight: 600;
  text-decoration: none !important;
  border-radius: 10px;
}

.site-page-tool-cta:hover {
  background: #084848;
}

.site-page-footer {
  margin-top: 2.5rem;
  padding-top: 1rem;
  border-top: 1px solid #e2dcd2;
  font-size: 0.875rem;
  color: #6b6560;
}

@media (max-width: 640px) {
  .guide-table {
    font-size: 0.8125rem;
  }

  .site-page h1 {
    font-size: 1.5rem;
  }
}
