/* 6Ponds static information page UI — scoped to static pages only */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
  --sixp-brand: #3b49df;
  --sixp-brand-dark: #2f3ab2;
  --sixp-brand-soft: rgba(59, 73, 223, 0.1);
  --sixp-bg: #f4f6fb;
  --sixp-card: #ffffff;
  --sixp-border: #e4e7ec;
  --sixp-text: #111827;
  --sixp-muted: #6b7280;
  --sixp-radius-lg: 16px;
  --sixp-shadow: 0 1px 3px rgba(16, 24, 40, 0.06), 0 1px 2px rgba(16, 24, 40, 0.04);
}

body#page.sixp-page-ui {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background: var(--sixp-bg);
  color: var(--sixp-text);
}

body#page.sixp-page-ui .content {
  background: transparent;
}

body#page.sixp-page-ui .content.loc-page {
  padding-bottom: 32px;
}

body#page.sixp-page-ui #breadcrumbs.container,
body#page.sixp-page-ui .page-text.container.sixp-static-page {
  max-width: 760px;
}

body#page.sixp-page-ui .page-text.sixp-static-page {
  padding: 8px 20px 40px;
}

body#page.sixp-page-ui .page-text.sixp-static-page h1 {
  margin: 0 0 24px;
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--sixp-text);
}

body#page.sixp-page-ui .page-text .sixp-static-body {
  margin: 0 0 24px;
  min-height: 0;
  padding: 28px 32px;
  background: var(--sixp-card);
  border: 1px solid var(--sixp-border);
  border-radius: var(--sixp-radius-lg);
  box-shadow: var(--sixp-shadow);
  font-size: 16px;
  line-height: 1.75;
  color: var(--sixp-text);
}

body#page.sixp-page-ui .page-text .sixp-static-body p {
  margin: 0 0 1.25rem;
}

body#page.sixp-page-ui .page-text .sixp-static-body p:last-child {
  margin-bottom: 0;
}

body#page.sixp-page-ui .page-text .sixp-static-body p > strong:first-child {
  display: block;
  margin-bottom: 0.4rem;
  font-weight: 700;
  color: var(--sixp-text);
}

body#page.sixp-page-ui .page-text .sixp-static-body p > strong:only-child {
  margin-bottom: 0;
  font-size: 1.05rem;
  color: var(--sixp-brand-dark);
}

body#page.sixp-page-ui .page-text .sixp-static-body p:has(> strong:only-child) {
  margin-bottom: 0.75rem;
}

body#page.sixp-page-ui .page-text .sixp-static-body p:not(:has(> strong:only-child)) + p:has(> strong:only-child) {
  margin-top: 1.75rem;
}

body#page.sixp-page-ui .page-text .sixp-static-body p:has(> strong:only-child) + p:not(:has(> strong:only-child)) {
  margin-top: -0.25rem;
  margin-bottom: 1.25rem;
}

body#page.sixp-page-ui .page-text .sixp-static-body p:has(> strong:only-child) + ul,
body#page.sixp-page-ui .page-text .sixp-static-body p:has(> strong:only-child) + ol {
  margin-top: 0;
}

body#page.sixp-page-ui .page-text .sixp-static-body h2,
body#page.sixp-page-ui .page-text .sixp-static-body h3,
body#page.sixp-page-ui .page-text .sixp-static-body h4 {
  margin: 2rem 0 0.75rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--sixp-text);
}

body#page.sixp-page-ui .page-text .sixp-static-body h2:first-child,
body#page.sixp-page-ui .page-text .sixp-static-body h3:first-child,
body#page.sixp-page-ui .page-text .sixp-static-body h4:first-child {
  margin-top: 0;
}

body#page.sixp-page-ui .page-text .sixp-static-body h2 {
  font-size: 1.35rem;
}

body#page.sixp-page-ui .page-text .sixp-static-body h3 {
  font-size: 1.15rem;
}

body#page.sixp-page-ui .page-text .sixp-static-body h4 {
  font-size: 1.05rem;
}

body#page.sixp-page-ui .page-text .sixp-static-body hr {
  border: none;
  border-top: 1px solid var(--sixp-border);
  margin: 2rem 0;
}

body#page.sixp-page-ui .page-text .sixp-static-body ul,
body#page.sixp-page-ui .page-text .sixp-static-body ol {
  margin: 0 0 1.25rem;
  padding-left: 1.5rem;
}

body#page.sixp-page-ui .page-text .sixp-static-body li {
  margin: 0 0 0.6rem;
  padding-left: 0.15rem;
}

body#page.sixp-page-ui .page-text .sixp-static-body li:last-child {
  margin-bottom: 0;
}

body#page.sixp-page-ui .page-text .sixp-static-body a {
  color: var(--sixp-brand);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

body#page.sixp-page-ui .page-text .sixp-static-body a:hover {
  color: var(--sixp-brand-dark);
}

body#page.sixp-page-ui .page-text .sixp-static-cta {
  margin: 0;
  padding: 18px 0 0;
  border-top: 1px solid var(--sixp-border);
  font-size: 15px;
  font-weight: 600;
  color: var(--sixp-muted);
}

body#page.sixp-page-ui .page-text .sixp-static-cta a {
  color: var(--sixp-brand);
  text-decoration: none;
}

body#page.sixp-page-ui .page-text .sixp-static-cta a:hover {
  color: var(--sixp-brand-dark);
  text-decoration: underline;
}

body#page.sixp-page-ui.dark .page-text .sixp-static-body {
  background: #1a1f2e;
  border-color: #2d3548;
  color: #e8eaed;
}

body#page.sixp-page-ui.dark .page-text .sixp-static-body h2,
body#page.sixp-page-ui.dark .page-text .sixp-static-body h3,
body#page.sixp-page-ui.dark .page-text .sixp-static-body h4,
body#page.sixp-page-ui.dark .page-text .sixp-static-body p > strong:first-child {
  color: #f3f4f6;
}

body#page.sixp-page-ui.dark .page-text .sixp-static-body p > strong:only-child {
  color: #a5b4fc;
}

@media screen and (max-width: 640px) {
  body#page.sixp-page-ui .page-text.sixp-static-page {
    padding: 4px 16px 32px;
  }

  body#page.sixp-page-ui .page-text .sixp-static-body {
    padding: 22px 20px;
    font-size: 15px;
    line-height: 1.7;
  }

  body#page.sixp-page-ui .page-text .sixp-static-body hr {
    margin: 1.5rem 0;
  }
}