/* Shared layout + theme for support / privacy / terms — matches landing (Webflow + Eina03 body, DM Sans wordmark in bar only) */
:root {
  --3--text-primary: #0a0a0a;
  --3--text-secondary: #525359;
  --l5: #ffffff;
  --l95: #0a0a0a;
  --l0: #0a0a0a;
  --l10: #f6f6f7;
  --text: #0a0a0a;
  --text-secondary: #525359;
  --3--surface-primary: #ffffff;
  --3--surface-secondary: #ececef;
  --3--component-primary: #ececef;
  --3--component-secondary: #dedee3;
  --3--component-tertiary: #c8c9d0;
  --component-primary: #ececef;
  --component-secondary: #dedee3;
  --light--text: #0a0a0a;
  --light--text-secondary: #525359;
}

html,
body {
  background-color: #ffffff !important;
  color: #0a0a0a;
  margin: 0;
}

.top-bar-container {
  background-color: #ffffff !important;
  border-bottom-color: rgba(10, 10, 10, 0.1) !important;
}

.top-bar-container ._3-button {
  background-color: #0a0a0a !important;
  color: #f5f5f7 !important;
  border-color: rgba(255, 255, 255, 0.14) !important;
}

.top-bar-container ._3-button:hover {
  background-color: #2a2a2e !important;
  color: #ffffff !important;
}

.top-bar-container ._3-button:active {
  background-color: #141418 !important;
  color: #ffffff !important;
}

.journex-wordmark {
  font-family: "DM Sans", -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 700;
  font-size: 1.375rem;
  letter-spacing: -0.03em;
  color: #0a0a0a;
  line-height: 1;
  display: inline-block;
  text-decoration: none;
}

a.journex-logo-link {
  text-decoration: none;
}

/* Main column: Webflow classes supply Eina03 + sizes; we only add spacing and width */
.journex-legal-main {
  padding: 88px 0 64px;
  -webkit-font-smoothing: antialiased;
  text-align: left;
}

/* Match top bar + landing footer (940px) so the column’s left edge lines up with the wordmark */
.journex-legal-main .w-container {
  max-width: 940px;
  box-sizing: border-box;
}

@media screen and (max-width: 991px) {
  .journex-legal-main .w-layout-blockcontainer.w-container {
    padding-left: 32px;
    padding-right: 32px;
  }
}

@media screen and (max-width: 479px) {
  .journex-legal-main .w-layout-blockcontainer.w-container {
    padding-left: 16px;
    padding-right: 16px;
  }
}

.journex-legal-page-title {
  color: var(--3--text-primary);
  font-family: Eina03, sans-serif;
  font-size: 40px;
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.04em;
  margin: 0 0 16px;
  max-width: 715px;
}

.journex-legal-section-title.headline-2 {
  margin-top: 2.5rem;
  margin-bottom: 0.65rem;
}

.journex-legal-main .updated {
  font-family: Eina03, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 150%;
  letter-spacing: -0.02em;
  color: var(--3--text-secondary);
  margin: 0 0 28px;
}

.journex-legal-main .updated strong {
  color: var(--3--text-primary);
  font-weight: 600;
}

.journex-legal-main ._3-content-paragraph {
  margin-top: 0;
  margin-bottom: 24px;
}

.journex-legal-main .body-regular {
  margin-top: 0;
  margin-bottom: 12px;
  max-width: 715px;
}

.journex-legal-main strong {
  color: var(--3--text-primary);
  font-weight: 600;
}

.journex-legal-main a {
  color: var(--3--text-primary);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.journex-legal-main a:hover {
  color: var(--3--text-secondary);
}

.journex-legal-list {
  margin: 0 0 8px;
  padding-left: 1.25rem;
  max-width: 715px;
}

.journex-legal-list li.body-regular {
  margin-bottom: 10px;
}

.journex-legal-list li.body-regular:last-child {
  margin-bottom: 0;
}

@media screen and (max-width: 479px) {
  .journex-legal-page-title {
    font-size: 32px;
  }
}

/* Webflow’s ._3-desktop-footer uses height:100vh + flex for the marketing footer.
   Legal pages reuse the class but only need a compact strip — scope resets here only
   (home does not load this file). */
._3-desktop-footer.journex-legal-footer-wrap {
  background-color: #ffffff !important;
  border-top: none !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  display: block !important;
  overflow: visible !important;
}

._3-desktop-footer.journex-legal-footer-wrap ._3-desktop-footer-container {
  height: auto !important;
  min-height: 0 !important;
}

._3-download-paragraph.journex-legal-footer {
  text-align: left;
  padding-top: 40px;
  padding-bottom: 40px;
  margin-bottom: 0;
}

._3-download-paragraph.journex-legal-footer a {
  color: #0a0a0a;
  text-decoration: underline;
  text-underline-offset: 3px;
}

._3-download-paragraph.journex-legal-footer a:hover {
  color: #525359;
}
