:root {
  --site-header-height: 96px;
}

body {
  background-color: #ffffff;
  color: #111722;
  padding-top: var(--site-header-height, 96px);
}

html.a4s body {
  background-color: inherit;
  color: inherit;
}

.company-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-decoration: none;
  max-width: 100%;
}

.company-brand img {
  height: 48px;
  width: auto;
  flex-shrink: 0;
}

.company-brand .company-full-name {
  margin-top: 6px;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.02em;
  color: #111722;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: min(100vw - 120px, 420px);
}

html.a4s .company-brand .company-full-name,
.dark .company-brand .company-full-name {
  color: #ffffff;
}

.footer-brand .company-full-name {
  max-width: 100%;
  font-size: 12px;
}

.info-block {
  margin-top: 1rem;
}

.info-block p {
  margin: 0.35rem 0;
  font-size: 14px;
  line-height: 1.6;
  word-break: break-word;
}

.info-block .company-name-line {
  white-space: nowrap;
  word-break: normal;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.info-block .info-title {
  font-weight: 600;
  font-size: 16px;
  margin-bottom: 0.5rem;
  color: inherit;
}

.policy-links a {
  text-transform: lowercase;
}

img {
  max-width: 100%;
  height: auto;
}

/* ===== Responsive Header / Navigation ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1100;
  width: 100%;
  min-height: var(--site-header-height, 96px);
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  box-sizing: border-box;
  background-color: #1a1a1a;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.header.sticky {
  min-height: var(--site-header-height, 96px);
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

#home,
#features,
#about,
#footer {
  scroll-margin-top: var(--site-header-height, 96px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  max-width: 100%;
  padding: 10px 16px;
  box-sizing: border-box;
  position: relative;
  z-index: 1101;
}

.header-brand {
  flex: 1 1 auto;
  min-width: 0;
  max-width: calc(100% - 52px);
}

.header .company-brand {
  max-width: 100%;
}

.header .company-brand .company-full-name {
  color: #ffffff;
  max-width: 100%;
}

.header .navbar a {
  color: #f3f4f6;
  font-weight: 500;
  text-decoration: none !important;
  -webkit-tap-highlight-color: transparent;
  outline: none;
  box-sizing: border-box;
}

.header .navbar a.nav-link-active,
.header .navbar a.active {
  color: #4a6cf7 !important;
}

@media (min-width: 1024px) {
  .header .navbar a.nav-link-active,
  .header .navbar a.active {
    position: relative;
  }

  .header .navbar a.nav-link-active::after,
  .header .navbar a.active::after {
    content: "";
    position: absolute;
    left: 4px;
    right: 4px;
    bottom: 0;
    height: 2px;
    background-color: #4a6cf7;
    border-radius: 1px;
  }
}

.header .navbar a:hover,
.header .navbar a:focus,
.header .navbar a:active {
  color: #4a6cf7 !important;
}

.menu-toggler {
  display: none;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: none;
  background: transparent;
  color: #ffffff;
  cursor: pointer;
  position: relative;
  z-index: 1103;
  pointer-events: auto;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.menu-toggler .menu,
.menu-toggler .cross {
  display: block;
}

.menu-toggler .ag {
  display: none;
}

body.a4r {
  overflow: hidden;
}

@media (max-width: 1023px) {
  .menu-toggler {
    display: flex;
  }

  .header .menu-wrapper:not(.show) {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
    opacity: 0 !important;
    width: 0 !important;
    height: 0 !important;
    overflow: hidden !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
  }

  .menu-wrapper.show {
    display: flex !important;
    visibility: visible !important;
    pointer-events: auto !important;
    opacity: 1 !important;
    position: fixed !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100vh !important;
    z-index: 1102 !important;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    padding: 88px 24px 32px;
    background-color: #1a1a1a;
    overflow-y: auto;
  }

  .menu-wrapper .aw {
    width: 100%;
  }

  .header .navbar {
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    width: 100%;
  }

  .header .navbar li {
    width: 100%;
  }

  .header .navbar a {
    display: block;
    width: 100%;
    padding: 14px 16px !important;
    font-size: 16px;
    text-align: center;
    border-radius: 8px;
  }

  .header .navbar > li > a {
    padding-top: 14px !important;
    padding-bottom: 14px !important;
  }

  .header .navbar a:hover {
    background-color: rgba(74, 108, 247, 0.15);
  }

  .header .navbar a.nav-link-active,
  .header .navbar a.active {
    color: #4a6cf7 !important;
    background-color: rgba(74, 108, 247, 0.15) !important;
  }

  .header .navbar a:active:not(.nav-link-active):not(.active) {
    background-color: transparent !important;
  }
}

@media (min-width: 1024px) {
  .menu-toggler {
    display: none !important;
  }

  .header-inner {
    padding: 12px 24px;
  }

  .header-brand {
    flex: 0 1 auto;
    max-width: 42%;
  }

  .menu-wrapper {
    display: flex !important;
    position: static !important;
    inset: auto !important;
    width: auto !important;
    height: auto !important;
    padding: 0 !important;
    background: transparent !important;
    overflow: visible !important;
    flex: 1 1 auto;
    justify-content: flex-end;
  }

  .header .navbar {
    flex-direction: row;
    flex-wrap: wrap;
    /* justify-content: flex-end; */
    align-items: center;
    gap: 4px 12px;
  }

  .header .navbar a {
    padding: 8px 4px !important;
    font-size: 14px;
    white-space: nowrap;
  }

  .header .navbar > li > a {
    padding-top: 8px !important;
    padding-bottom: 8px !important;
  }
}

@media (min-width: 1024px) and (max-width: 1280px) {
  .header .company-brand .company-full-name {
    font-size: 9px;
  }

  .header .navbar a {
    font-size: 13px;
  }
}

@media (max-width: 640px) {
  :root {
    --site-header-height: 84px;
  }

  .company-brand .company-full-name {
    font-size: 9px;
    max-width: calc(100vw - 100px);
  }

  .header-brand {
    max-width: calc(100% - 52px);
  }
}

@media (max-width: 400px) {
  .company-brand .company-full-name {
    font-size: 8px;
  }
}

/* ===== Policy / Legal Page Content ===== */
.Section0,
.policy-content {
  box-sizing: border-box;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px 16px 40px;
  overflow-x: auto;
  word-wrap: break-word;
  overflow-wrap: break-word;
  -webkit-overflow-scrolling: touch;
}

.Section0 p,
.Section0 h1,
.Section0 h2,
.Section0 h3,
.Section0 li,
.Section0 span,
.Section0 b {
  max-width: 100%;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.Section0 table {
  display: block;
  max-width: 100%;
  overflow-x: auto;
}

@media (min-width: 640px) {
  .Section0,
  .policy-content {
    padding: 32px 32px 48px;
  }
}

@media (min-width: 768px) {
  .Section0,
  .policy-content {
    padding: 40px 48px 56px;
  }
}

@media (min-width: 1024px) {
  .Section0,
  .policy-content {
    padding: 48px 80px 64px;
  }
}

@media (min-width: 1280px) {
  .Section0,
  .policy-content {
    padding: 48px 120px 64px;
  }
}

/* ===== Policy Page Footer ===== */
footer#footer .a1v.xl\:a1w,
footer#footer > .a1v {
  max-width: 1400px;
  margin: 0 auto;
  padding-left: 16px;
  padding-right: 16px;
  box-sizing: border-box;
}

footer#footer .info-block .info-title,
footer#footer .info-block p {
  color: #f3f4f6;
}

footer#footer .footer-brand .company-full-name {
  color: #ffffff;
}

@media (max-width: 767px) {
  footer#footer .a1R.a5.a6 > .a4 {
    width: 100%;
    max-width: 100%;
  }

  footer#footer .info-block p {
    font-size: 13px;
  }

  footer#footer .company-name-line {
    white-space: normal;
  }
}
